mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
ed4c33fe4e
When option was enabled, `<br />` tags where being added wrongfully between `<li>` tags, which resulted in malformed html. This commit prevents this behavior. Closes #316
51 lines
552 B
HTML
51 lines
552 B
HTML
<ul>
|
|
<li>one</li>
|
|
</ul>
|
|
<ol>
|
|
<li>two</li>
|
|
</ol>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
</ul>
|
|
<ol>
|
|
<li>two</li>
|
|
</ol>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
</ul>
|
|
<ol>
|
|
<li>two</li>
|
|
</ol>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one<ol>
|
|
<li>two</li></ol></li>
|
|
</ul>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
<li>two</li>
|
|
</ul>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
<li>two</li>
|
|
</ul>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
<li>two</li>
|
|
</ul>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one</li>
|
|
<li>two</li>
|
|
</ul>
|
|
<p>foo</p>
|
|
<ul>
|
|
<li>one<ul>
|
|
<li>two</li></ul></li>
|
|
</ul>
|