[wp-testers] Several XHTML formatting bugs in 2.1
Andy Skelton
skeltoac at gmail.com
Thu Jan 25 05:35:05 GMT 2007
On 1/24/07, Sujal Shah <codesujal at gmail.com> wrote:
> //$content = str_replace(']]>', ']]>', $content);
>
> Why does the_content do this without negating the opening of the CDATA?
>
> If there's no explanation, I'll submit a ticket for this.
Feeds can be broken by ]]>. The opening of the CDATA will not break a
CDATA section in an XML document, while the closing will. Thus we only
need to escape the closing.
Andy
More information about the wp-testers
mailing list