From 02a2630dd6e7bc3b130f1de0c43af4eddebefce4 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 21 Dec 2011 14:03:39 +0000 Subject: [PATCH] Fixed problem with recipe files containing carriage returns --- js/Recipe.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/Recipe.js b/js/Recipe.js index 19893129c..90c958488 100755 --- a/js/Recipe.js +++ b/js/Recipe.js @@ -145,7 +145,7 @@ Recipe.prototype.sortTiddlersForMarker = function(marker) { // Process the contents of a recipe file Recipe.prototype.processRecipeFile = function(recipe,text,contextPath) { var matchLine = function(linetext) { - var lineRegExp = /^(\s*)([^\s\:]+)\s*:\s*(.+)*$/, + var lineRegExp = /^(\s*)([^\s\:]+)\s*:\s*(.+)*\s*$/, match = lineRegExp.exec(linetext); return match ? { indent: match[1],