mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
10b3410934
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
16 lines
151 B
HTML
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>
|