[this will look stupid on the mailing list - look at it at drupal.org (see link below - in the mail!)]
e.g.
& to &
< to <
> to >
" to "
' to '
to [haha]
etc.
because
<span style="color: red;">*</span>
(from a previous post) just isn't really accessible ;)
see also http://www.php.net/manual/en/function.htmlentities.php (incl. sample implementation)
Comments
Comment #1
Kjartan commentedFixed (just have to test and commit it).
Comment #2
ax commentedit does work for almost all the mentioned entities, just not the ' (and probably all other Character References - see http://www.utoronto.ca/webdocs/HTMLdocs/NewHTML/entities.html)
Comment #3
Kjartan commentedThere is no easy PHP way to deal with that AFAIK. Not sure its worth the effor either.. how many people use those codes regularly (ie, more than once or twice a year)?
Comment #4
Kjartan commentedClosing.