I have text that is styled by the user. Sometimes the user may forget to close some <b>
or <i>
or <u>
and sometimes will sneak in a </div>
or to and screw up the entire formatting.
How do I restrict the string styling to only this specific string?
I'm using PHP just in case you thought otherwise.