diff --git a/Parsedown.php b/Parsedown.php index cf78d7a..4737eee 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -517,7 +517,8 @@ class Parsedown if($name === 'ol') { - $listStart = stristr($matches[0], ".", true); + $listStart = stristr($matches[0], '.', true); + if($listStart !== '1') { $Block['element']['attributes'] = array('start' => $listStart);