$deindented_line >= ... doesn't make sense
This commit is contained in:
parent
5521afde31
commit
5dd0e8cb7b
|
@ -494,7 +494,7 @@ class Parsedown
|
|||
|
||||
# li
|
||||
|
||||
if ($deindented_line[0] <= '9' and $deindented_line >= '0' and preg_match('/^([ ]*)\d+[.][ ](.*)/', $line, $matches))
|
||||
if ($deindented_line[0] <= '9' and $deindented_line[0] >= '0' and preg_match('/^([ ]*)\d+[.][ ](.*)/', $line, $matches))
|
||||
{
|
||||
$elements []= $element;
|
||||
|
||||
|
|
Loading…
Reference in New Issue