Make comment macro multiline
This commit is contained in:
parent
1798959ddc
commit
edbde2be37
|
@ -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'));
|
||||||
|
|
Loading…
Reference in New Issue