diff --git a/lib/util.js b/lib/util.js index eda88928..b9927e8f 100644 --- a/lib/util.js +++ b/lib/util.js @@ -269,7 +269,7 @@ }); if (~result.indexOf('{{')) - result = result.replace(/{{\s*.*\s*}}/, ''); + result = result.replace(/{{.*}}/g, ''); return result; };