$deindented_line >= ... doesn't make sense

This commit is contained in:
Emanuil Rusev 2014-01-16 23:39:56 +02:00
parent 5521afde31
commit 5dd0e8cb7b
1 changed files with 1 additions and 1 deletions

View File

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