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

WordPress Trac noreply at wordpress.org
Wed Dec 21 02:15:07 UTC 2016


#39307: </p> tag inserted in <figure>
------------------------------------------+--------------------
 Reporter:  sujag                         |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.7.1
Component:  Formatting                    |     Version:  4.7
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+--------------------

Comment (by azaozz):

 Yeah, think we need an exception here too.

 Perhaps can have another "group" of tags that should not be wrapped in <p>
 and require specific parent tags. Candidates for there would be
 `figcaption`, `track`, `source`, `param`.

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


More information about the wp-trac mailing list