[wp-trac] [WordPress Trac] #5250: wpautop() issue with lists

WordPress Trac noreply at wordpress.org
Thu Feb 2 13:34:08 UTC 2023


#5250: wpautop() issue with lists
-------------------------------------------------+-------------------------
 Reporter:  Narc0tiq                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Formatting                           |     Version:  2.3
 Severity:  normal                               |  Resolution:
 Keywords:  needs-patch needs-unit-tests         |     Focuses:
  wpautop close                                  |
-------------------------------------------------+-------------------------
Changes (by Mte90):

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


Comment:

 Tested with 6.2 alpha:

 {{{
 <ol>
 <li>
 foo

 bar
 </li>
 </ol>
 }}}

 Generates:


 {{{
 <p><ol>
 <li>
 foo

 bar
 </li>
 </ol></p>
 }}}

 I think that is right and fine as behavior.

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


More information about the wp-trac mailing list