diff options
author | John McLear <john@mclear.co.uk> | 2013-12-09 06:56:22 -0800 |
---|---|---|
committer | John McLear <john@mclear.co.uk> | 2013-12-09 06:56:22 -0800 |
commit | bae77666a40b0f0b15ee44d89b8577d09c0f5545 (patch) | |
tree | 1c1e21794eb41abaf9d0d4a6b7644fa57fc9e26d /src | |
parent | 98c4e32a142f34f3e7b66e0189ad0f98262e3244 (diff) | |
parent | 01c71085e481869640caa4e645c148315e0ea6aa (diff) | |
download | etherpad-lite-bae77666a40b0f0b15ee44d89b8577d09c0f5545.zip |
Merge pull request #2027 from webzwo0i/fix-import
fix closing of </title> tag
Diffstat (limited to 'src')
-rw-r--r-- | src/node/handler/ImportHandler.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node/handler/ImportHandler.js b/src/node/handler/ImportHandler.js index 98909354..5924b550 100644 --- a/src/node/handler/ImportHandler.js +++ b/src/node/handler/ImportHandler.js @@ -157,7 +157,7 @@ exports.doImport = function(req, res, padId) text = _text; // Title needs to be stripped out else it appends it to the pad.. text = text.replace("<title>", "<!-- <title>"); - text = text.replace("</title>-->"); + text = text.replace("</title>","</title>-->"); //node on windows has a delay on releasing of the file lock. //We add a 100ms delay to work around this |