From 45955f5dc1ffbba68ee335c9313b55c84ef699be Mon Sep 17 00:00:00 2001 From: Sahab Yazdani Date: Tue, 5 Jul 2011 12:07:43 -0400 Subject: [PATCH] Fixes issue 105 --- mustache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mustache.js b/mustache.js index 35a8976..25d6639 100644 --- a/mustache.js +++ b/mustache.js @@ -63,7 +63,7 @@ var Mustache = function() { var that = this; var regex = new RegExp(this.otag + "%([\\w-]+) ?([\\w]+=[\\w]+)?" + - this.ctag); + this.ctag, "g"); return template.replace(regex, function(match, pragma, options) { if(!that.pragmas_implemented[pragma]) { throw({message: