PDA

View Full Version : EDITOR_exhibition.php - free textual information problem (FIXED IN 2.02, MOSTLY)


DavidW
29th of October 2006 (Sun), 22:41
A problem I've noticed is that the exhibition editor turns &lt; into < when displayed on screen, and doesn't turn it back when it writes it to the database.

This is a problem with mailto: links with a name inserted. To be completely correct XHTML 1.0 Strict, these should look like:
<a href="mailto:Fred Bloggs &lt;fred@bloggs.invalid>?subject=Your photos">email me</a>EE writes &lt; to the database. However, when you return to the Exhibition Editor, &lt; is turned into <, and subsequent edits lead to the < being written to the database as <


Some fixing is needed here, but I'm not sure what the correct fix should be. This problem will apply to other fields where HTML is allowed.



David