1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

block » markup

This commit is contained in:
Emanuil Rusev 2013-11-16 21:39:01 +02:00
parent 18d3dbf4f6
commit fe27b70bdb

View File

@ -112,7 +112,7 @@ class Parsedown
{
# markup (open)
if ($element['type'] === 'block' and ! isset($element['closed']))
if ($element['type'] === 'markup' and ! isset($element['closed']))
{
if (preg_match('{<'.$element['subtype'].'>$}', $line)) # <open>
{
@ -356,7 +356,7 @@ class Parsedown
$elements []= $element;
$element = array(
'type' => 'block',
'type' => 'markup',
'subtype' => strtolower($matches[1]),
'text' => $pure_line,
'depth' => 0,