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
1 changed files with 1 additions and 1 deletions

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;
}