diff options
-rw-r--r-- | lib/template/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/template/index.js b/lib/template/index.js index 7be16b9..410c2f5 100644 --- a/lib/template/index.js +++ b/lib/template/index.js @@ -343,7 +343,7 @@ TemplateEngine.prototype.processBlock = function(blk) { } // Return it as a position marker - return '@%@'+blk.id+'@%@'; + return '{{-%'+blk.id+'%-}}'; }; // Render a string (without post processing) @@ -391,7 +391,7 @@ TemplateEngine.prototype.applyShortcut = function(content, shortcut) { TemplateEngine.prototype.replaceBlocks = function(content) { var that = this; - return content.replace(/\@\%\@([\s\S]+?)\@\%\@/g, function(match, key) { + return content.replace(/\{\{\-\%([\s\S]+?)\%\-\}\}/g, function(match, key) { var blk = that.blockBodies[key]; if (!blk) return match; |