summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwebzwo0i <webzwo0i@c3d2.de>2013-12-07 00:18:36 +0100
committerwebzwo0i <webzwo0i@c3d2.de>2013-12-07 00:18:36 +0100
commit01c71085e481869640caa4e645c148315e0ea6aa (patch)
treedd0524542e762c5d0e061a720d9670c4d514950d /src
parent03d5acfd0cccc820d4fa6f9da07c8fd7b15d2652 (diff)
downloadetherpad-lite-01c71085e481869640caa4e645c148315e0ea6aa.zip
fix closing of </title> tag
Diffstat (limited to 'src')
-rw-r--r--src/node/handler/ImportHandler.js2
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