[wp-trac] [WordPress Trac] #31214: oEmbed: Newlines within <pre> tags get removed

WordPress Trac noreply at wordpress.org
Wed Feb 11 19:10:48 UTC 2015


#31214: oEmbed: Newlines within <pre> tags get removed
--------------------------+-----------------------------
 Reporter:  cweiske       |       Owner:  wonderboymusic
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.2
Component:  Embeds        |     Version:  4.1
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"31415"]:
 {{{
 #!CommitTicketReference repository="" revision="31415"
 Protect `<pre>` tags when parsing oEmbed responses in
 `WP_oEmbed::_strip_newlines()` in `DOMDocument` is available.

 Fixes #31214.
 }}}

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


More information about the wp-trac mailing list