mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
gdocs.js should strip trailing whitespace in imported docs
This commit is contained in:
parent
fe743e31f8
commit
08e3b1edbb
1 changed files with 1 additions and 0 deletions
1
gdocs.js
1
gdocs.js
|
|
@ -189,6 +189,7 @@ function reflow(text, margin) {
|
|||
var col = 0;
|
||||
var reflowLine = '';
|
||||
function flush(){
|
||||
reflowLine = reflowLine.replace(/\s*$/, '');
|
||||
lines.push(reflowLine);
|
||||
reflowLine = '';
|
||||
col = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue