1
0
Fork 0
mirror of https://github.com/muerwre/vk-tg-bot.git synced 2025-04-24 22:46:41 +07:00

fixed regexp flags

This commit is contained in:
Fedor Katurov 2021-05-26 11:31:30 +07:00
parent cc042eba46
commit b3a9dd8615

View file

@ -48,7 +48,7 @@ export class Template<
* Themes the template with values
*/
public theme = (values: V) => {
return hb.compile(this.template)(values).replace(/\n+/gim, "\n\n");
return hb.compile(this.template)(values).replace(/\n+/g, "\n\n");
};
/**