1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

interrupted list items should not add nonexistent empty lines

This commit is contained in:
Emanuil Rusev 2013-12-06 00:14:50 +02:00
parent 18d112a614
commit 5b01915a63
3 changed files with 13 additions and 0 deletions

View File

@ -221,6 +221,8 @@ class Parsedown
$element['lines'] []= $line; $element['lines'] []= $line;
unset($element['interrupted']);
continue 2; continue 2;
} }
} }

View File

@ -0,0 +1,7 @@
<ul>
<li>
<p>li</p>
<p>line
line</p>
</li>
</ul>

View File

@ -0,0 +1,4 @@
- li
line
line