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:
parent
06c4344a71
commit
0bd61a73ed
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user