diff --git a/Parsedown.php b/Parsedown.php index 0b00886..11e50d5 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -698,15 +698,13 @@ class Parsedown protected function blockQuoteContinue($Line, array $Block) { + if (isset($Block['interrupted'])) + { + return; + } + if ($Line['text'][0] === '>' and preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) { - if (isset($Block['interrupted'])) - { - $Block['element']['text'] []= ''; - - unset($Block['interrupted']); - } - $Block['element']['text'] []= $matches[1]; return $Block;