diff --git a/Parsedown.php b/Parsedown.php index 0d44669..b5fb584 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -558,7 +558,7 @@ class Parsedown if($name === 'ol') { $listStart = ltrim(strstr($matches[1], $Block['data']['markerType'], true), '0') ?: '0'; - + if($listStart !== '1') { $Block['element']['attributes'] = array('start' => $listStart);