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

WordPress Trac noreply at wordpress.org
Wed Feb 11 19:14:11 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:
--------------------------+-----------------------------

Comment (by wonderboymusic):

 In [changeset:"31416"]:
 {{{
 #!CommitTicketReference repository="" revision="31416"
 After [31415], make sure `str_replace()` only occurs once for each matched
 tag to avoid overwriting until `<pre>`s.

 See #31214.
 }}}

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


More information about the wp-trac mailing list