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

WordPress Trac noreply at wordpress.org
Mon Jul 27 13:45:09 UTC 2015


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

Comment (by kitchin):

 Replying to [comment:21 miqrogroove]:
 > Replying to [comment:16 kitchin]:
 > > Appears that ->autoembed does not do the embedding, instead it
 canonicalizes the text for later work by the oEmbed service, and for the
 `[embed]` shortcode.
 >
 > So how do we test the oEmbed service?  How do we make sure to not break
 this in the future?

 Grepping I do not see a test harness for the service. Do you know if
 round-tripping TinyMCE is also not covered? I mean, emulating a user
 throwing some html into TinyMCE.

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


More information about the wp-trac mailing list