fix(util) render: clean up regexp: lazy -> greedy

This commit is contained in:
coderaiser 2015-03-13 06:45:09 -04:00
parent 260f988d2a
commit fef6d1a078

View file

@ -269,7 +269,7 @@
});
if (~result.indexOf('{{'))
result = result.replace(/{{.*}}/g, '');
result = result.replace(/{{.*?}}/g, '');
return result;
};