[wp-trac] [WordPress Trac] #3260: XML output (rss, atom, rdf ...) should always use UTF-8 or CDATA for user input

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 9 15:02:17 UTC 2009


#3260: XML output (rss, atom, rdf ...) should always use UTF-8 or CDATA for user
input
-----------------------+----------------------------------------------------
 Reporter:  deremder   |        Type:  defect (bug)
   Status:  new        |    Priority:  normal      
Milestone:  2.9        |   Component:  Feeds       
  Version:  2.8.2      |    Severity:  normal      
 Keywords:  has-patch  |  
-----------------------+----------------------------------------------------

Comment(by peaceablewhale):

 The RSS title element and Atom title element are text by default, using
 <![[CDATA&nbsp;]]> is a violation to the specifications.

 I think the functions that return the title, subtitle, etc should handle
 those entities (resolve &nbsp; to numeric character reference).

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


More information about the wp-trac mailing list