[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
Let's try some double html entities
The P tag has the & in the entities replaced by &
So there is a way of displaying HTML code short of allowing raw text. By replacing the & in an entity with the entity for &, HTML entities can be included in the display, and these can be used to display HTML code. Normally, a comment will converted into characters, then converted back into HTML entities before being stored in the database. By storing characters used by HTML as HTML entities, "double" quotes and 'single' quotes can be included in the comment without either messing up MySQL query strings. Note: The & entity is still not easily displayed, and if you edit a comment, the HTML entities may convert into characters.
To prevent HTML entities to convert to characters (and also to prevent TEXTAREA terminating tags (such as in a Game Courier form) from messing up the editor), use htmlspecialchars on the data when filling up the text area (everywhere); I believe this will work.
HTML might be included with a TEXTAREA tag
Some boldfaced text
7 comments displayed
Permalink to the exact comments currently displayed.