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

Check that the current line is a list before starting a new one

This commit is contained in:
Aidan Woods 2016-10-11 13:48:38 +01:00 committed by GitHub
parent 06c4344a71
commit 0bd61a73ed

View File

@ -583,7 +583,7 @@ class Parsedown
return $Block;
}
elseif ($Block['indent'] === $Line['indent'])
elseif ($Block['indent'] === $Line['indent'] and $l = $this->blockList($Line))
{
return null;
}