[wp-trac] [WordPress Trac] #33106: Automatic removal of new lines in CDATA blocks may break content with unfiltered_html

WordPress Trac noreply at wordpress.org
Fri Jul 24 19:57:48 UTC 2015


#33106: Automatic removal of new lines in CDATA blocks may break content with
unfiltered_html
-----------------------------+--------------------
 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 azaozz):

 In 33106.6.patch: revert how autoembed() works. Replace line breaks with
 placeholders, search for embeddable URLs on their own line, then put the
 line breaks back (similarly to how wpautop() works).

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


More information about the wp-trac mailing list