showdown/test/issues/#312.spaced-dashes-followed-by-char2.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

9 lines
130 B
HTML

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