Crystalwarrior / KFO-Client

👀
https://aceattorneyonline.com
GNU General Public License v3.0
0 stars 1 forks source link

Remove html filter #19

Open EstatoDeviato opened 4 months ago

EstatoDeviato commented 4 months ago

Removing html filter, to allow users to use bold, italic, colors ecc... in ooc message

in1tiate commented 4 months ago

You need to add parsing to catch open tags. With this change as-is, I can write:

<font face="Comic Sans MS">

and deliberately not include the closing </font> tag, which will cause all messages sent thereafter to be in Comic Sans until someone closes the tag. This works with any formatting tag and will cause you headaches if you don't address it.

Alternatively, you could choose the sane option and not remove the HTML filter, which is there for a reason.