diff --git a/Parsedown.php b/Parsedown.php index f2ee92d..f76acb7 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -134,7 +134,7 @@ class Parsedown $Line = array('body' => $line, 'indent' => $indent, 'text' => $text); - # Multiline block types define "addTo" methods. + # ~ if (isset($CurrentBlock['incomplete'])) { @@ -161,8 +161,6 @@ class Parsedown $marker = $text[0]; - # Definitions - if (isset($this->Definition[$marker])) { foreach ($this->Definition[$marker] as $definitionType) @@ -195,23 +193,19 @@ class Parsedown foreach ($blockTypes as $blockType) { - # Block types define "identify" methods. - $Block = $this->{'identify'.$blockType}($Line, $CurrentBlock); if (isset($Block)) { $Block['type'] = $blockType; - if ( ! isset($Block['identified'])) # ยป + if ( ! isset($Block['identified'])) { $Elements []= $CurrentBlock['element']; $Block['identified'] = true; } - # Multiline block types define "addTo" methods. - if (method_exists($this, 'addTo'.$blockType)) { $Block['incomplete'] = true;