Merge pull request #2027 from webzwo0i/fix-import

fix closing of </title> tag
This commit is contained in:
John McLear 2013-12-09 06:56:22 -08:00
commit bae77666a4
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