aboutsummaryrefslogtreecommitdiffstats
path: root/gdocs.js
diff options
context:
space:
mode:
Diffstat (limited to 'gdocs.js')
-rwxr-xr-xgdocs.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdocs.js b/gdocs.js
index 82bd3df4..7c7f335b 100755
--- a/gdocs.js
+++ b/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;