[wp-trac] [WordPress Trac] #2881: XHTML CDATA Buglet
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 30 07:41:03 GMT 2006
#2881: XHTML CDATA Buglet
-------------------------------------------------+--------------------------
Reporter: aernative cel<at>web-engineer.co.uk | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone:
Component: Template | Version:
Severity: normal | Keywords:
-------------------------------------------------+--------------------------
wp-includes/template-functions-post.php file line 57 -
$content = str_replace(']]>', ']]>', $content);
This line causes problem if any filters applied to content inject XHTML
comments into your pages (for example script blocks...).
Symanticly this feature should not exisit in this context as it is itself
a kind of filter, If desired, it should be re-implimented as a filter so
the user can choose to disable the feature.
--
Ticket URL: <http://trac.wordpress.org/ticket/2881>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list