diff options
author | Xavid <xavid@mit.edu> | 2015-05-06 08:45:22 -0400 |
---|---|---|
committer | Xavid <xavid@mit.edu> | 2015-05-06 08:45:22 -0400 |
commit | 9e86fb279be7511e27abb6da57d06ba073cf1e70 (patch) | |
tree | a9be8a784587a96cb7c09e1a858ac91905a5ff8d /src/node/utils | |
parent | 5e64c292a4ae2639bf068d31a208f582513149c7 (diff) | |
download | etherpad-lite-9e86fb279be7511e27abb6da57d06ba073cf1e70.zip |
Fix backend tests with new setText() implementation; tests depended
on the old setText() behavior leaving the last character.
Diffstat (limited to 'src/node/utils')
-rw-r--r-- | src/node/utils/ImportHtml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/utils/ImportHtml.js b/src/node/utils/ImportHtml.js index 33fd91c6..d71e2720 100644 --- a/src/node/utils/ImportHtml.js +++ b/src/node/utils/ImportHtml.js @@ -89,7 +89,7 @@ function setPadHTML(pad, html, callback) // the changeset is ready! var theChangeset = builder.toString(); apiLogger.debug('The changeset: ' + theChangeset); - pad.setText(""); + pad.setText("\n"); pad.appendRevision(theChangeset); callback(null); } |