mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
paragraph blocks preceded by a list block should not produce exceptions
This commit is contained in:
parent
ec5f2c6f31
commit
5bbbabe8aa
@ -147,7 +147,7 @@ class Parsedown
|
||||
|
||||
unset($block);
|
||||
}
|
||||
elseif (isset($list) and $block[0] === ' ') # list item block
|
||||
elseif (isset($block) and isset($list) and $block[0] === ' ') # list item block
|
||||
{
|
||||
$list .= "\n\n".$block;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user