[wp-trac] [WordPress Trac] #14225: Use NCRs instead of HTML entities in Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 2 18:41:04 UTC 2010


#14225: Use NCRs instead of HTML entities in Twenty Ten
----------------------------+-----------------------------------------------
 Reporter:  peaceablewhale  |       Owner:                       
     Type:  defect (bug)    |      Status:  new                  
 Priority:  normal          |   Milestone:  Future Release       
Component:  Themes          |     Version:  3.0                  
 Severity:  normal          |    Keywords:  has-patch 2nd-opinion
----------------------------+-----------------------------------------------

Comment(by GamajoTech):

 To reword what I think the OP meant, as the (expected) HTML5 doctype only
 supports five named entities, then all (other?) named entities should be
 converted to numerical entities, for any one who wants to create a an off-
 shoot of TwentyTen that uses the HTML5 doctype.

 However, the W3C say that [http://www.w3.org/TR/charmod/#C048 Content
 SHOULD use the hexadecimal form of character escapes rather than the
 decimal form when there are both], so rather than converting ← to the
 decimal ← as per the patch, it SHOULD be converted to the
 hexadecimal ←, with other entities converted accordingly.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14225#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list