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
48 lines
840 B
HTML
48 lines
840 B
HTML
<ol>
|
|
<li>One</li>
|
|
<li>Two<ul>
|
|
<li>A</li>
|
|
<li>B</li></ul></li>
|
|
<li>Three</li>
|
|
</ol>
|
|
<blockquote>
|
|
<p>this has<br />
|
|
simple linebreaks</p>
|
|
</blockquote>
|
|
<pre><code>testing
|
|
some
|
|
code
|
|
</code></pre>
|
|
<ol>
|
|
<li><p>paragraphed list</p>
|
|
<p>this belongs<br />
|
|
to the first list item</p></li>
|
|
<li><p>This text<br />
|
|
also</p></li>
|
|
</ol>
|
|
<p>simple<br />
|
|
text</p>
|
|
<ul>
|
|
<li>a list<br />
|
|
item</li>
|
|
<li>another<br />
|
|
list item</li>
|
|
</ul>
|
|
<p>simple<br />
|
|
text</p>
|
|
<ul>
|
|
<li><p>some item</p>
|
|
<p>another<br />
|
|
paragraph</p>
|
|
<ul>
|
|
<li><p>And<br />
|
|
now</p>
|
|
<p>paragraph<br />
|
|
sublist</p>
|
|
<ul>
|
|
<li><p>and<br />
|
|
even</p>
|
|
<p>another<br />
|
|
one</p></li></ul></li></ul></li>
|
|
<li><p>foo</p></li>
|
|
</ul> |