Timwi wrote in part:
However, for incorrect mark-up, it sometimes returns weird results. For example, for the following input: '' text ''' text '' text if I'm not mistaken (remember I don't have an installation to test it on), it will return: <em> text <strong> text </strong></em>''' text which is at least correct HTML.
I see what you're doing. Clever!
-- Toby