[wp-trac] [WordPress Trac] #25646: figcaption should not be treated as a block by wpautop()

WordPress Trac noreply at wordpress.org
Thu Mar 13 21:59:08 UTC 2014


#25646: figcaption should not be treated as a block by wpautop()
--------------------------+--------------------
 Reporter:  laacz         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Formatting    |     Version:  3.6.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by johnbillion):

 * keywords:  wpautop has-patch needs-testing =>


Comment:

 [27527] helped this on its way but has not completed fixed the issue. A
 `<br>` is still inserted within `<figure>`, however this occurs regardless
 of whether there's a `<figcaption>` in there or not.

 Is there a way we can treat `<figure>` like `<pre>` and treat its contents
 as-is?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/25646#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list