Ticket #1450 (closed defect (bug): invalid)
The wp-includes directory contains code with named XHTML entities
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 1.5.1.1 |
| Severity: | major | Keywords: | xhtml+xml named entities |
| Cc: |
Description
While wp-texturize explicitly makes use of numerical entities for special characters, the php code of WP still utilizes named XHTML entities, the most common being » . Though this poses no problems with a vanilla WP installation, it is quite a nuisance when one makes use of plugins to have one's blog served as application/xhtml+xml. While Opera and Firefox don't care, browsers like Safari and Camino get rather pissed when encountering named XHTML entities resulting in xml parsing errors (see http://fmf.nl/~gmlk/humbug/2005-06-17.pdf for an example).
Of course, in theory, there is nothing wrong with named entities in an xhtml+xml document, but in practice quite some browsers can't handle them. I think a simple search & replace to replace all named entities with their numerical counterparts in the php code would take very little time and would make quite some puristic people very happy :) .
Change History
comment:1
foolswisdom — 5 years ago
- Status changed from new to closed
- Resolution set to invalid
- Milestone 1.5.1 deleted

Closing as invalid. Has not been updated in one year. If this is still an issue please detail the repro steps so that even I can follow them ;-)