JetBrains / markdown

Markdown parser written in kotlin
Apache License 2.0
682 stars 75 forks source link

Blockquote ending not detected #85

Open msrd0 opened 3 years ago

msrd0 commented 3 years ago

Consider the following test markdown

a

> quote

b

This is rendered incorrectly with both CommonMarkFlavourDescriptor and GFMFlavourDescriptor like this (version 0.2.3):

<p>a

</p><blockquote><p>quote

b</p></blockquote>

However, the markdown should render with b after the </blockquote>, like this (especially when using the GitHub flavour):

a

quote

b