This is what I did for now
msg.text =
msg.text.replace('>','')
.replace('<','')
.replace(';','')
.replace('/','')
.replace('\\','')
.replace('\'','')
.replace('\"','')
.replace(':"','')
.replace('!important','');
I will think of a more clever solution next week :)