Trim whitespace

This commit is contained in:
Aidan Woods 2018-03-27 11:23:04 +01:00
parent f594d4c18b
commit d2a73f9179
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
1 changed files with 1 additions and 1 deletions

View File

@ -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);