[wp-trac] [WordPress Trac] #37328: Empty <p> tag inside <figure> markup
WordPress Trac
noreply at wordpress.org
Tue Jul 12 16:43:05 UTC 2016
#37328: Empty <p> tag inside <figure> markup
--------------------------+------------------------
Reporter: henry.wright | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Formatting | Version:
Severity: normal | Resolution: duplicate
Keywords: | Focuses:
--------------------------+------------------------
Changes (by ocean90):
* status: new => closed
* resolution: => duplicate
* component: Editor => Formatting
* milestone: Awaiting Review =>
Comment:
The output is actually
{{{
<figure>
<img src="image.png" alt=""></p>
<figcaption>Caption</figcaption>
</figure>
}}}
The `<p>` gets added by the browser. This is already mentioned in #15918.
The second issue with the `<br>` tag is tracked in #27559.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37328#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list