mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Trim whitespace
This commit is contained in:
parent
f594d4c18b
commit
d2a73f9179
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user