diff --git a/public/script.js b/public/script.js index 20d9298bf..edb74c1ce 100644 --- a/public/script.js +++ b/public/script.js @@ -1690,7 +1690,7 @@ function substituteParams(content, _name1, _name2, _original, _group) { content = content.replace(//gi, _group); content = content.replace(//gi, _group); - content = content.replace(/\{\{\/\/(.*?)\}\}/g, ""); + content = content.replace(/\{\{\/\/([\s\S]*?)\}\}/gm, ""); content = content.replace(/{{time}}/gi, moment().format('LT')); content = content.replace(/{{date}}/gi, moment().format('LL'));