[wp-trac] [WordPress Trac] #3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block

WordPress Trac noreply at wordpress.org
Fri Dec 6 17:46:43 UTC 2013


#3670: Removing CDATA close tag ( ]]> ) unbalances the CDATA block
--------------------------+-----------------------------
 Reporter:  scenic        |       Owner:  andy
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Template      |     Version:  2.1
 Severity:  minor         |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by yitwail):

 I had to take the approach of filtering plugin output to remove javascript
 with embedded CDATA tags, and make it an external javascript file I'm
 enqueing. This creates extra code, an extra server request, and possible
 issues if the plugin is updated, but seems safer than updating the core. I
 sincerely hope someone sees fit to addressing this long-standing issue.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/3670#comment:60>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list