entity ' ?
| From: | Sean Coates | Date: | Tue, 07 Sep 2004 20:04:12 +0000 |
| Subject: | entity ' ? | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969363874@lists.php.net to get a copy of this message | ||
Docs,
The ' entity in the wrappers appendix causes problems with Livedocs. (e.g. http://docs.php.net/wrappers)
This is because html_entity_decode(...) doesn't understand '
According to the w3c, ' is valid (') ("MAY be used") (http://www.w3.org/People/mimasa/test/xhtml/entities/entities.html, http://www.w3.org/TR/2004/REC-xml11-20040204/REC-xml11-20040204-review.html)
But the ISO (8859), as far as I can tell (don't have an official copy), doesn't name character #39 (') (http://www.htmlhelp.com/reference/charset/iso032-063.html).
Note: browsers generally support '
So, do we:
1) "fix" html_entity_decode in php-src
2) "hack" livedocs to put ' in the entities file?
or
3) s/'/'/g ?
I should be able to do any of these myself (up to patch, anyway -- not commit the first 2), but I don't know what's correct.
S