mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
799abea767
Code blocks containing comments are now converted correctly when nested in list items. Closes #288
22 lines
514 B
HTML
22 lines
514 B
HTML
<ul>
|
|
<li><p>list item 1</p>
|
|
|
|
<pre><code><parent>
|
|
<child>child1</child>
|
|
<!-- This is a comment -->
|
|
<child>child2</child>
|
|
<child>some text <!-- a comment --></child>
|
|
</parent>
|
|
</code></pre></li>
|
|
|
|
<li><p>list item 2</p></li>
|
|
</ul>
|
|
|
|
<pre><code><parent>
|
|
<child>child1</child>
|
|
<!-- This is a comment -->
|
|
<child>child2</child>
|
|
<child>some text <!-- a comment --></child>
|
|
</parent>
|
|
</code></pre>
|