russross / blackfriday

Blackfriday: a markdown processor for Go
Other
5.44k stars 599 forks source link

Failed to generate quote block inside list item #255

Open swanwish opened 8 years ago

swanwish commented 8 years ago

My test code is like below:

1. First list item
> **Bold Quote inside first list item**
2. Second list item
> **Second Bold Quote text inside second list item**
3. Third list item
> **Third bold quote text**

The generated result is:

<ol>
<li>First list item
&gt; <strong>Bold Quote inside first list item</strong></li>
<li>Second list item
&gt; <strong>Second Bold Quote text inside second list item</strong></li>
<li>Third list item
&gt; <strong>Third bold quote text</strong></li>
</ol>

I still not work even I add extension blackfriday.EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK.

dmitshur commented 8 years ago

What is the expected result?

Is it the same as what this Markdown generates?

1.  First list item

    > **Bold Quote inside first list item**

2.  Second list item

    > **Second Bold Quote text inside second list item**

3.  Third list item

    > **Third bold quote text**