[wp-trac] [WordPress Trac] #29219: A figure tag gets an injected ghost p tag
WordPress Trac
noreply at wordpress.org
Fri Aug 15 15:11:54 UTC 2014
#29219: A figure tag gets an injected ghost p tag
-------------------------------+-----------------------------
Reporter: grayghostvisuals | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 3.9.2
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
It seems in the WordPress 3.9.2 release anything wrapped in a figure tag
gets a ghost p and br tag injected. Seems a similar ticket was closed, but
I'm not seeing a status on the release of this fix.
Author Input
{{{
<figure>
<pre><code>code sample</code></pre>
<figcaption>a small note about the figure above</figcaption>
</figure>
}}}
WordPress Output:
{{{
<figure>
<pre><code>code sample</code></pre>
<p></p>
<figcaption>a small note about the figure above</figcaption>
</figure>
<br>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29219>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list