Ink icon indicating copy to clipboard operation
Ink copied to clipboard

Fix formatting of indented lists

Open adam-fowler opened this issue 3 years ago • 2 comments

When parsing a list which is indented the parser needs to take into account the indentation of the first element otherwise it will it consider subsequent elements to be part of another list internal to the original list ie previously

  - first
  - second
  - third

produces HTML

<ul><li>One<ul><li>Two</li><li>Three</li></ul></li></ul>

With this fix it now produces

<ul><li>One</li><li>Two</li><li>Three</li></ul>

adam-fowler avatar Nov 27 '20 08:11 adam-fowler

I don't understand why this pull request is still pending two years later, unacknowledged. Has this project been abandoned?

It's even worse when it's a piece of functionality the README claims the library can do.

Nested lists are supported as well, by indenting any part of a list that should be nested within its parent.

bdrelling avatar Sep 12 '22 21:09 bdrelling

I haven't received comment on any of my Ink PRs so I've kinda of given up on them.

adam-fowler avatar Sep 13 '22 06:09 adam-fowler