From e670a812fa85dd6a63b0d128815f9c0682ffd177 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 7 Jun 2011 22:21:01 +0200 Subject: Remove removing old comments from gdocs There were two places where we were removing old comments from google docs: * gdocs.js fetching script * docs/src/reader.js --- gdocs.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdocs.js') diff --git a/gdocs.js b/gdocs.js index e5c13b9e..662fb12b 100755 --- a/gdocs.js +++ b/gdocs.js @@ -73,12 +73,6 @@ function download(collection, name, url) { data = data.replace('\ufeff', ''); data = data.replace(/\r\n/mg, '\n'); - // strip out all text annotation comments - data = data.replace(/^\[a\][\S\s]*/m, ''); - - // strip out all text annotations - data = data.replace(/\[\w{1,3}\]/mg, ''); - // strip out all docos comments data = data.replace(/^[^\s_]+:\n\S+[\S\s]*$/m, '') -- cgit v1.2.3