[wp-trac] [WordPress Trac] #39307: </p> tag inserted in <figure>

WordPress Trac noreply at wordpress.org
Tue Dec 20 05:33:22 UTC 2016

#39307: </p> tag inserted in <figure>
 Reporter:  sujag         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:

Comment (by azaozz):

 Hi @sujag, thanks for the bug report.

 Confirmed. Caused by [38592], see #4857. Without that change it inserts a
 <br> which is still a bug but at least doesn't visually alter the output
 (single closing `</p>` is converted to empty `<p></p>` in the browsers).

Ticket URL: <https://core.trac.wordpress.org/ticket/39307#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list