diff options
| author | Igor Minar | 2011-02-22 17:41:40 -0800 | 
|---|---|---|
| committer | Igor Minar | 2011-02-22 17:42:05 -0800 | 
| commit | a7ee4a88848887aa5ea0807380f4ba759444a7ec (patch) | |
| tree | 5f98427287aaad522ef4724017fb4ef339405e38 /gdocs.js | |
| parent | eea0de6db4eb660be15bad4c1a74d371b8719d38 (diff) | |
| download | angular.js-a7ee4a88848887aa5ea0807380f4ba759444a7ec.tar.bz2 | |
gdocs.js should add dropped leading space
Diffstat (limited to 'gdocs.js')
| -rwxr-xr-x | gdocs.js | 1 | 
1 files changed, 1 insertions, 0 deletions
| @@ -57,6 +57,7 @@ function download(name, url) {        function(data){          data = data.replace('\ufeff', '');          data = data.replace(/\r\n/mg, '\n'); +        data = data.replace(/^ /mg, '  '); //for some reason gdocs drop first space for indented lines          // strip out all text annotation comments          data = data.replace(/^\[a\][\S\s]*/m, ''); | 
