Make comment macro multiline

This commit is contained in:
Cohee 2023-10-26 18:41:35 +03:00
parent 1798959ddc
commit edbde2be37
1 changed files with 1 additions and 1 deletions

View File

@ -1690,7 +1690,7 @@ function substituteParams(content, _name1, _name2, _original, _group) {
content = content.replace(/<CHARIFNOTGROUP>/gi, _group); content = content.replace(/<CHARIFNOTGROUP>/gi, _group);
content = content.replace(/<GROUP>/gi, _group); content = content.replace(/<GROUP>/gi, _group);
content = content.replace(/\{\{\/\/(.*?)\}\}/g, ""); content = content.replace(/\{\{\/\/([\s\S]*?)\}\}/gm, "");
content = content.replace(/{{time}}/gi, moment().format('LT')); content = content.replace(/{{time}}/gi, moment().format('LT'));
content = content.replace(/{{date}}/gi, moment().format('LL')); content = content.replace(/{{date}}/gi, moment().format('LL'));