[wp-trac] Re: [WordPress Trac] #6269: RSS Import Doesn't Properly
Strip CDATA Tags
WordPress Trac
wp-trac at lists.automattic.com
Sat Jun 13 16:33:02 GMT 2009
#6269: RSS Import Doesn't Properly Strip CDATA Tags
-------------------------------------+--------------------------------------
Reporter: sweetdeal | Type: defect (bug)
Status: new | Priority: low
Milestone: 2.9 | Component: Import
Version: 2.3.3 | Severity: minor
Keywords: rss, import needs-patch |
-------------------------------------+--------------------------------------
Changes (by Denis-de-Bernardy):
* keywords: rss, import has-patch => rss, import needs-patch
Comment:
imo, better adding the CDATA stuff into the regexp and make it optional
material, e.g.:
{{{
|<description>(?:<\[CDATA\[)?(.*?)(?:\]\]>)?</description>|is
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6269#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list