fuck replace
This commit is contained in:
parent
407e613ce5
commit
61079e4000
@ -125,8 +125,8 @@ export class tg extends EventEmitter {
|
||||
if(this.server.spurdo)
|
||||
msg = spurdo(msg);
|
||||
return msg.toString()
|
||||
.replace("<", "<")
|
||||
.replace(">", ">")
|
||||
.split("<").join("<")
|
||||
.split(">").join(">")
|
||||
.replace(/\[b\](.*?)\[\/b\]/g, "<b>$1</b>") // bold
|
||||
.replace(/\[i\](.*?)\[\/i\]/g, "<i>$1</i>") // italic
|
||||
.replace(/\[color=(.*?)](.*?)\[\/color\]/g, "$2")
|
||||
|
Loading…
Reference in New Issue
Block a user