Added test coverage for multiple nesting of lists

Specifically this line was not covered by the tests:
78cad3964c/Parsedown.php (L343)
This commit is contained in:
hkdobrev 2013-07-23 00:02:35 +03:00
parent 8ed3b3d484
commit e2f4ba46ff
2 changed files with 20 additions and 2 deletions

View File

@ -17,4 +17,16 @@
</ul>
<p>Here's one with no space after markers:</p>
<p>-list item
-another list item</p>
-another list item</p>
<p>Here's one with different indentation level:</p>
<ul>
<li><p>list item</p>
<ul>
<li><p>more indented list item</p>
<ul>
<li>even more</li>
</ul>
</li>
</ul>
</li>
</ul>

View File

@ -18,4 +18,10 @@ Here's one with white space around items:
Here's one with no space after markers:
-list item
-another list item
-another list item
Here's one with different indentation level:
- list item
- more indented list item
- even more