Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Christian Wach

    (@needle)

    I can’t seem to reproduce this. Do you have an example URL?

    Thread Starter doebeli

    (@doebeli)

    Yes:

    https://buch.wikiway.ch/kapitel-09/

    First, you see a bunch of ul’s. Then you’ll see a bunch of ol’s with <ol start=”3″> etc. to simulate ONE ordered list.

    Plugin Author Christian Wach

    (@needle)

    Okay, I see. The problem is that the regex in the CommentPress parser fails to recognise the ol when there is an attribute – in your case the ‘start’ attribute. This is one of the weaknesses of the parser and one of main the reasons I want to offer a DOM parser as an alternative in the future.

    I have added support for this in my GitHub repo. You can download a zip of the plugin from there and the enhancement will be included in the next release, so you don’t need to worry about upgrading when I release the next version.

    Cheers, Christian

    Thread Starter doebeli

    (@doebeli)

    Thanks, works!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Two ol together are processed as one paragraph’ is closed to new replies.