Encoding HTML output
| From: | Adam Maccabee Trachtenberg | Date: | Fri, 14 Nov 2003 17:09:57 +0000 |
| Subject: | Encoding HTML output | ||
| Groups: | php.pres | ||
| Request: | Send a blank email to pres+get-904@lists.php.net to get a copy of this message | ||
We currently do not (or rarely) call htmlspecialchars() on text that
we're displaying in HTML slides. I'd like to fix this to prevent
broken output.
You can work around this by doing the encoding yourself inside your
slides, but this produces broken PDFs.
However, making this change could/would? break existing slides that are
manually implementing the work-around because you'll end up with
double entity-encoded output.
Before I set off to explore this, does anyone know if this will cause
serious breakage or have a better idea?
-adam
--
adam@trachtenberg.com