We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eea0de6 commit a7ee4a8Copy full SHA for a7ee4a8
gdocs.js
@@ -57,6 +57,7 @@ function download(name, url) {
57
function(data){
58
data = data.replace('\ufeff', '');
59
data = data.replace(/\r\n/mg, '\n');
60
+ data = data.replace(/^ /mg, ' '); //for some reason gdocs drop first space for indented lines
61
62
// strip out all text annotation comments
63
data = data.replace(/^\[a\][\S\s]*/m, '');
0 commit comments