mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
7720c88bfc
Fix ghCodeBlocks not being correctly parsed inside lists. Also, as a side effect, fixes issues with consecutive lists and extra paragraphs being added into lists. Closes #142, Closes #183, Closes #184
16 lines
246 B
HTML
16 lines
246 B
HTML
<ul>
|
|
<li><p>foo</p>
|
|
<ul>
|
|
<li><p>bazinga</p></li>
|
|
<li><p>yeah</p></li>
|
|
</ul>
|
|
</li>
|
|
<li><p>bar</p>
|
|
<ol>
|
|
<li><p>damn</p></li>
|
|
<li><p>so many paragraphs</p></li>
|
|
</ol>
|
|
</li>
|
|
<li><p>baz</p></li>
|
|
</ul>
|