fix closing of </title> tag

This commit is contained in:
webzwo0i 2013-12-07 00:18:36 +01:00
parent 03d5acfd0c
commit 01c71085e4
1 changed files with 1 additions and 1 deletions

View File

@ -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