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

WordPress Trac noreply at wordpress.org
Wed Jun 12 01:31:48 UTC 2024


#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                                  |
-------------------------------------------------+-------------------------

Comment (by lev0):

 Replying to [comment:15 Mte90]:
 > {{{
 > <p><ol>
 > <li>
 > foo
 >
 > bar
 > </li>
 > </ol></p>
 > }}}
 >
 > I think that is right and fine as behavior.

 It looks like that case has [https://github.com/WordPress/wordpress-
 develop/blob/1825065572929693b04beac7b8c6a6d706747ce5/wp-includes
 /functions-formatting.php#L65 always] [https://github.com/WordPress
 /wordpress-develop/blob/1537f0043a631526c488061dbc4a93fcd90cf37c/src/wp-
 includes/formatting.php#L567 been] actively prevented, to me.

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


More information about the wp-trac mailing list