I'm working to upgrade an old web program written in PHP with a MySQL database as the backend.
The database is full of text like this <P><STRONG>
Which obviously is an encoded form of <P><STRONG><FONT size=4>
How can I get a JSF file to render that properly ? Outputting it as escaped text gives me the 1st line, and unescaped text gives me the 2nd line.
I want the HTML to appear as html in the document, I'll accept the risk of doing so :)
Am I better off decoding the text in the database ? I'm not sure that this is a format I want to work with in the future, but I have so little experience with HTML entities that I'm just not sure the best long-term route.
Anything from technical knowhow to the ramblings of wise old sages is welcome here.
` or do you want to **render** a paragraph with bold text, size 4?
– Matt Ball Aug 23 '11 at 23:12