From da186dd540c6f7a90c403c4e85eaf21e1228d2ab Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Wed, 25 Jan 2017 13:42:07 -0800 Subject: [PATCH] Command scripts are finally identical between the Node and Jekyll web server --- modules/markout/lib/markout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markout/lib/markout.js b/modules/markout/lib/markout.js index 241a96bdb..6f0db504f 100644 --- a/modules/markout/lib/markout.js +++ b/modules/markout/lib/markout.js @@ -534,7 +534,7 @@ MarkOut.prototype.convertMD = function(sIndent) * command lines, followed by the second command name, followed by one or more command lines, and so on. */ for (var iCommand = 1; iCommand < aCommands.length; iCommand += 2) { - this.aCommandDefs[aCommands[iCommand]] = aCommands[iCommand+1].trim().replace(/\n[ \t]*/g, "").replace(/"/g, """); + this.aCommandDefs[aCommands[iCommand]] = aCommands[iCommand+1].replace(/\n[ \t]*/g, " ").trim().replace(/"/g, """); } }