diff --git a/Parsedown.php b/Parsedown.php index 1e2f1c7..9532e6e 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -273,12 +273,10 @@ class Parsedown if (isset($blockquote)) { $blockquote .= "\n".$matches[1]; - $blockquote_is_multiline = true; } else { $blockquote = $matches[1]; - $blockquote_is_multiline = false; } unset($line); @@ -288,13 +286,10 @@ class Parsedown if (isset($line) and $line === '') { $blockquote .= "\n"; - $blockquote_is_multiline = true; } else { - $blockquote = $blockquote_is_multiline - ? $this->parse_lines($blockquote) - : '
'.$this->parse_inline_elements($blockquote).'
'."\n"; + $blockquote = $this->parse_lines($blockquote); $markup .= ''."\n".$blockquote.''."\n";