[wp-trac] [WordPress Trac] #27350: Invalid HTML Output
WordPress Trac
noreply at wordpress.org
Tue Mar 11 08:19:48 UTC 2014
#27350: Invalid HTML Output
--------------------------+-----------------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.8
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
Paste into editor's Text tab:
{{{
<div>hello
<pre>test</pre>
world</div>
}}}
Preview output:
{{{
<div>hello</p>
<pre>test</pre>
<p>world</p></div>
}}}
Seen in 3.8 and in trunk. Doesn't seem to be an editor bug because
switching tabs will improve the output. Something wrong with wpautop()?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27350>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list