From 6f7243f42f358396fd93be7af29806475404f8e2 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Fri, 21 Feb 2014 16:46:58 -0500 Subject: [PATCH] fixed a bug running multiple blocks in one template on an empty array --- public/src/templates.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/templates.js b/public/src/templates.js index e4dbb0f69a..0018b1e974 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -281,7 +281,7 @@ } function makeRegex(block) { - return new RegExp("[\\s\\S]*", 'g'); + return new RegExp("([\\s\\S]*?)", 'g'); } function makeConditionalRegex(block) {