Does anyone know why on line 57 of template-functions-post.php, I have this line:
$content = str_replace(']]>', ']]>', $content);
This is in the_content() function. This seems to break every one of my CDATA sections even if everything is correct before that. Why is this here? It doesn’t seem to do anything useful except break XHTML Strict compliance.
I’m willing to be educated, though. 🙂
- The topic ‘the_content replaces CDATA close tag’ is closed to new replies.