#29219 closed defect (bug) (fixed)
A figure tag gets an injected ghost p tag
| Reported by: | grayghostvisuals | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.2 |
| Component: | Posts, Post Types | Version: | 3.9.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
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>
Attachments (1)
Change History (6)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks for the report, grayghostvisuals - I'll have someone confirm 29219.diff as the proper fix.