From 01c71085e481869640caa4e645c148315e0ea6aa Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Sat, 7 Dec 2013 00:18:36 +0100 Subject: [PATCH] fix closing of tag --- src/node/handler/ImportHandler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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>"); - text = text.replace("-->"); + text = text.replace("","-->"); //node on windows has a delay on releasing of the file lock. //We add a 100ms delay to work around this