showdown/test/issues/#312.spaced-dashes-followed-by-char.html
Estevao Soares dos Santos 10b3410934 fix: lines with mutiple dashes being parsed as multilists
This input: `- - - a` causes trouble for the parser,
since it interprets it as multiple sublists, where it should
only interpert it as a list with a single list item.
This commit fixes this behavior.

Closes #312
2016-12-17 05:20:23 +00:00

16 lines
151 B
HTML

<ul>
<li>- - a</li>
</ul>
<p>a</p>
<ul>
<li>- * - - + a</li>
</ul>
<p>a</p>
<ol>
<li>2. 3. 4. 5.</li>
</ol>
<p>a</p>
<ol>
<li>2. 3. 4. 5. a</li>
</ol>