[wp-hackers] the_content breaking XHTML validity

Andy Skelton skeltoac at gmail.com
Wed May 3 20:36:57 GMT 2006


On 5/2/06, Ryan Scheuermann <ryan at concept64.com> wrote:
>     $content = str_replace(']]>', ']]&gt;', $content);    <---  WHY HERE?
>
> Can someone with a broader sense of the system explain why the_content
> is doing this here instead of in the filter?  Is this a bug or is there
> a reason I'm not seeing?  Trunk code, btw.

Take a look in trac and find when that line was added. There may be a
good explanation in the related ticket.

Andy


More information about the wp-hackers mailing list