> This feature reminded me of the MySpace worm in ~2005 (heck, I wasn't even alive then!)
Well damn, I get older every day
Well damn, I get older every day
<scr<script>ipt>For the implementation all the real HTML tags should be generated by the formatter and not originate from the original input. When formarring the valid tags get deleted from the input and everything else is properly HTML escaped.
As a primitive example imagine that the only HTML tags the formatter is able to output is <b> and </b> tags alongside HTML escaped text. That means it will be impossible for a script tag to ever be outputed by the formatter.