[wp-trac] [WordPress Trac] #13341: XHTML named entities break XHTML document

WordPress Trac wp-trac at lists.automattic.com
Tue May 11 14:17:35 UTC 2010


#13341: XHTML named entities break XHTML document
----------------------------+-----------------------------------------------
 Reporter:  nicholaswilson  |       Owner:            
     Type:  defect (bug)    |      Status:  new       
 Priority:  normal          |   Milestone:  Unassigned
Component:  Template        |     Version:  2.9.2     
 Severity:  normal          |    Keywords:            
----------------------------+-----------------------------------------------
 The current output of Wordpress 2.9.2 is nearly standard XHTML, but breaks
 on my MathML pages served with +xml MIME type.

 Fixes are trivial; please replace « and » entities in wp-
 includes/general-template.php with their numeric equivalents. Since the
 default theme's doctype is XHTML, you should be doing this anyway in the
 rare case someone has a correctly-configured server.

 I am not trying to bring up the HTML/XHTML debate or say that you should
 not be trying to serve HTML-compatible XHTML; I am just asking these bugs
 be fixed so that those of us who do appreciate Wordpress' XHTML support
 can actually use it.

 This bug breaks all pages on any Wordpress site served with XML MIME type
 and has been around for a while, so clearly none of the devs has ever
 tested any Wordpress output with an XML parser recently. May I suggest
 that in future this check is added to your testing for new releases to
 avoid causing 'yellow-screen-of-death' on upgrade for those of us who do
 need XML for MathML? Thanks.

 Patch: trivial (as described). Can commit straight away unless
 internationalization of the strings causes problems.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13341>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list