Remove some whitespace

This commit is contained in:
Aidan Woods 2018-03-27 12:11:00 +01:00
parent 2f291e0b2f
commit 244ea0aaa6
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9
1 changed files with 4 additions and 9 deletions

View File

@ -586,22 +586,17 @@ class Parsedown
$requiredIndent = ($Block['indent'] + strlen($Block['data']['marker']));
if (
$Line['indent'] < $requiredIndent
and
(
if ($Line['indent'] < $requiredIndent
and (
(
$Block['data']['type'] === 'ol'
and preg_match('/^[0-9]+'.preg_quote($Block['data']['markerType']).'(?:[ ]+(.*)|$)/', $Line['text'], $matches)
)
or
(
) or (
$Block['data']['type'] === 'ul'
and preg_match('/^'.preg_quote($Block['data']['markerType']).'(?:[ ]+(.*)|$)/', $Line['text'], $matches)
)
)
)
{
) {
if (isset($Block['interrupted']))
{
$Block['li']['text'] []= '';