erusev / parsedown

Better Markdown Parser in PHP

Home Page:https://parsedown.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple blockquotes are getting merged

royduin opened this issue · comments

> Blockquote 1

> Blockquote 2

Results in:

<blockquote>
<p>Blockquote 1</p>
<p>Blockquote 2</p>
</blockquote>

Instead of:

<blockquote>
<p>Blockquote 1</p>
</blockquote>

<blockquote>
<p>Blockquote 2</p>
</blockquote>

Also seeing this in @wintercms.

You can force two blockquotes to be rendered with the following:

>test

<span></span>
>test
commented

Is there an actual fix for this though?

Edi: this actually does not work for me, i see in the actual content.

Edit 2: Realized i didnt have the latest beta version in which this has been fixed.
Though, there still is an issue of having to use html_entity_decode to convert the block quotes into actual elements.