diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index 033c332d..9ad91227 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -209,7 +209,7 @@ $dbTags = new dbTags(); $dbCategories = new dbCategories(); $Site = new dbSite(); $Url = new Url(); -$Parsedown = new ParsedownExtra(); +$Parsedown = new Parsedown(); $Security = new Security(); $Syslog = new dbSyslog(); diff --git a/bl-kernel/parsedown.class.php b/bl-kernel/parsedown.class.php index e0febbe6..42375525 100644 --- a/bl-kernel/parsedown.class.php +++ b/bl-kernel/parsedown.class.php @@ -515,10 +515,10 @@ class Parsedown ), ); - if($name === 'ol') + if($name === 'ol') { $listStart = stristr($matches[0], '.', true); - + if($listStart !== '1') { $Block['element']['attributes'] = array('start' => $listStart);