On 1/24/07, Sujal Shah <[EMAIL PROTECTED]> wrote:
//$content = str_replace(']]>', ']]&gt;', $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
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to