JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
706 stars 78 forks source link

Unordered list items incorrectly come back as paragraphs #12

Closed apatrida closed 8 years ago

apatrida commented 8 years ago

When used in Dokka, on includes, it imports the Markdown using this parser. When you get to a unordered list item (maybe the same for ordered), then it thinks that the text of the list item is a new paragraph.

* something

is parsed as unordered list, list item, paragraph, text "something"

that seems wrong and breaks how the input is seen by Dokka. Causes this bug: https://github.com/Kotlin/dokka/issues/71

apatrida commented 8 years ago

This looks like it is per spec of common mark, odd