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

$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

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;