global args

This commit is contained in:
Flummi
2017-11-27 01:29:09 +01:00
parent 3dae5a2437
commit 868bbea424
2 changed files with 13 additions and 3 deletions

View File

@ -68,7 +68,7 @@ export class tg {
};
}
format(msg) {
return ""+msg
return msg.toString()
.replace("<", "&lt;")
.replace(">", "&gt;")
.replace(/\[b\](.*?)\[\/b\]/g, "<b>$1</b>") // bold