diff --git a/lib/tmpl.js b/lib/tmpl.js index 8fed3a8..63ed9b2 100644 --- a/lib/tmpl.js +++ b/lib/tmpl.js @@ -1,4 +1,4 @@ -var INTERPOLATE = /{([\s\S]+?)}/g +var INTERPOLATE = /{([^{]+?)}/g module.exports = function(str, data) { var tmpl = 'var __p=[],print=function(){__p.push.apply(__p,arguments);};' +