[wp-trac] [WordPress Trac] #31214: oEmbed: Newlines within <pre> tags get removed
WordPress Trac
noreply at wordpress.org
Wed Feb 11 16:53:33 UTC 2015
#31214: oEmbed: Newlines within <pre> tags get removed
--------------------------+------------------
Reporter: cweiske | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.2
Component: Embeds | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Changes (by wonderboymusic):
* keywords: needs-patch => has-patch
* milestone: Future Release => 4.2
Comment:
[attachment:31214.diff 31214.diff] does this if `DOMDocument` exists,
which falls in line with other places that bow out if `DOMDocument` isn't
available (please don't disable this, for crying out loud).
The tokens have to be sequential to account for HTML nodes that may be
identical
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31214#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list