[wp-trac] [WordPress Trac] #33106: Removal of newlines in CDATA breaks inline scripts

WordPress Trac noreply at wordpress.org
Mon Jul 27 20:44:34 UTC 2015


#33106: Removal of newlines in CDATA breaks inline scripts
-----------------------------+--------------------------
 Reporter:  jeremyfelt       |       Owner:  miqrogroove
     Type:  defect (bug)     |      Status:  assigned
 Priority:  highest omg bbq  |   Milestone:  4.2.4
Component:  Formatting       |     Version:  4.2.3
 Severity:  major            |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+--------------------------

Comment (by miqrogroove):

 Cool ideas.  Thank you kitchin.  Just need to add one or two tests where a
 CDATA block contains a URL on its own line.  The idea is to make sure we
 are not now or in the future going to autoembed anywhere in the middle of
 an inline script.  Then combine the tests with 33106.7.mod-hook.patch so
 we have it all in one patch.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33106#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list