[wp-trac] [WordPress Trac] #31214: oEmbed: Newlines within <pre> tags get removed
WordPress Trac
noreply at wordpress.org
Wed Feb 11 20:19:31 UTC 2015
#31214: oEmbed: Newlines within <pre> tags get removed
--------------------------+-----------------------------
Reporter: cweiske | Owner: wonderboymusic
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 4.2
Component: Embeds | Version: 4.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Comment (by cweiske):
I tried to use `html_entity_decode` on the input HTML and the
`saveHTML()`'ed HTML, but it seems that the saved `<pre>` tag is UTF-8,
while the input html is a different encoding.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31214#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list