Removed parsedownextra

This commit is contained in:
Diego Najar 2017-10-11 21:12:45 +02:00
parent c13a7c0c21
commit 48e4285732
2 changed files with 3 additions and 3 deletions

View File

@ -209,7 +209,7 @@ $dbTags = new dbTags();
$dbCategories = new dbCategories(); $dbCategories = new dbCategories();
$Site = new dbSite(); $Site = new dbSite();
$Url = new Url(); $Url = new Url();
$Parsedown = new ParsedownExtra(); $Parsedown = new Parsedown();
$Security = new Security(); $Security = new Security();
$Syslog = new dbSyslog(); $Syslog = new dbSyslog();

View File

@ -515,10 +515,10 @@ class Parsedown
), ),
); );
if($name === 'ol') if($name === 'ol')
{ {
$listStart = stristr($matches[0], '.', true); $listStart = stristr($matches[0], '.', true);
if($listStart !== '1') if($listStart !== '1')
{ {
$Block['element']['attributes'] = array('start' => $listStart); $Block['element']['attributes'] = array('start' => $listStart);