diff --git a/public/src/templates.js b/public/src/templates.js index 4926392974..847941c87f 100644 --- a/public/src/templates.js +++ b/public/src/templates.js @@ -75,7 +75,7 @@ } function makeRegex(block) { - return new RegExp("[\\s\\S]*", 'g'); + return new RegExp("[\\s\\S]*?", 'g'); } function makeConditionalRegex(block) {