WordPress.org

Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #20, comment 17


Ignore:
Timestamp:
01/30/2020 05:50:34 AM (22 months ago)
Author:
dd32
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20, comment 17

    initial v1  
    1212FWIW This seems to not work 100% with lists that have multiple items. I think the regex needs to either support a closing LI element preceding it or something like that.
    1313
    14 This is the best example I could come up with: https://wordpress.org/support/topic/this-is-a-test-topic/#post-12379821 The three items should be part of the OL, but instead the second and third LI gets assigned to their own ULs (Which is probably better than the original problem)
     14This is the best example I could come up with: https://wordpress.org/support/topic/this-is-a-test-topic/#post-12379821
     15The three items should be part of the OL, but instead the second and third LI gets assigned to their own ULs (Which is probably better than the original problem)
     16To make it more annoying as an example, I opted to not include the closing `</li>` too :)