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

WordPress Trac noreply at wordpress.org
Thu Feb 9 16:08:40 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                                        |
-------------------------------------------------+-------------------------

Comment (by Mte90):

 Just a HTML example to test in the W3C validator
 (https://validator.w3.org/#validate_by_input):

 {{{
 <!DOCTYPE html>
 <html lang="en">
 <head>
 <title>My Table-y paragraph.</title>
 </head>
 <body>
 <p>
  <table>
   <tr>
    <td>Hello</td>
   </tr>
  </table>
 </p>
 </body>
 </html>
 }}}

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


More information about the wp-trac mailing list