[wp-trac] Re: [WordPress Trac] #9992: Atom feed titles are CDATA'ed
and XML encoded.
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 3 06:51:05 GMT 2009
#9992: Atom feed titles are CDATA'ed and XML encoded.
-------------------------------------+--------------------------------------
Reporter: pm24601 | Owner: josephscott
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.8
Component: Feeds | Version: 2.7.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Changes (by peaceablewhale):
* keywords: => has-patch needs-testing
* status: closed => reopened
* resolution: invalid =>
* milestone: => 2.8
Comment:
Even though the existing format is valid and working properly, I found
that the "ent2ncr" function will automatically change the HTML character
entity references to numeric character references. In this case, the extra
escaping doesn't seem necessary. I have uploaded a patch to remove the
CDATA block and change to the title content type to text. Please test if
it breaks anything.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9992#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list