[wp-trac] [WordPress Trac] #4298: wpautop: Avoid wrapping <table> tags with a paragraph (was: wpautop bugs)

WordPress Trac noreply at wordpress.org
Thu Feb 9 16:01:09 UTC 2023


#4298: wpautop: Avoid wrapping <table> tags with a paragraph
-------------------------------------------------+-------------------------
 Reporter:  Denis-de-Bernardy                    |       Owner:
                                                 |  markjaquith
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  low                                  |   Milestone:  Future
                                                 |  Release
Component:  Formatting                           |     Version:  2.7
 Severity:  minor                                |  Resolution:
 Keywords:  needs-patch needs-unit-tests         |     Focuses:
  wpautop                                        |
-------------------------------------------------+-------------------------
Changes (by audrasjb):

 * keywords:  needs-patch needs-unit-tests wpautop close => needs-patch
     needs-unit-tests wpautop


Comment:

 As per today's Old Tickets Triage session, it looks like there is still an
 issue: <p> element can't contain <table> elements (see
 [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p MDN Specs]).

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


More information about the wp-trac mailing list