showdown/test/issues/#196.entity-in-code-block-in-nested-list.html
Estevao Soares dos Santos ed4c33fe4e fix(simpleLineBreaks): fix simpleLineBreak option breaking lists html
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
2016-12-20 23:57:10 +00:00

11 lines
355 B
HTML

<p>Test pre in a list</p>
<ul>
<li>&amp; &lt;</li>
<li><code>&amp; &lt;</code><ul>
<li>&amp; &lt;</li>
<li><code>&amp; &lt;</code><ul>
<li>&amp; &lt;</li>
<li><code>&amp; &lt;</code><ul>
<li>&amp; &lt;</li>
<li><code>&amp; &lt;</code></li></ul></li></ul></li></ul></li>
</ul>