[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 04:08:28 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:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  4.2.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+------------------------------

Comment (by azaozz):

 33106.3.patch is an alternative for autoembed(). Instead of removing line
 breaks it doesn't look inside of HTML tags (including comments and CDATA).
 It changes the behavior a bit and fixes #25387.

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


More information about the wp-trac mailing list