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

improve code consistency

This commit is contained in:
Emanuil Rusev 2014-04-24 23:58:00 +03:00
parent 504991a04e
commit 5e95242318

View File

@ -196,7 +196,7 @@ class Parsedown
if ( ! isset($Block['identified'])) # »
{
$elements []= $CurrentBlock['element'];
$Elements []= $CurrentBlock['element'];
$Block['identified'] = true;
}
@ -222,7 +222,7 @@ class Parsedown
}
else
{
$elements []= $CurrentBlock['element'];
$Elements []= $CurrentBlock['element'];
$CurrentBlock = array(
'type' => 'Paragraph',
@ -245,13 +245,13 @@ class Parsedown
# ~
$elements []= $CurrentBlock['element'];
$Elements []= $CurrentBlock['element'];
unset($elements[0]);
unset($Elements[0]);
# ~
$markup = $this->elements($elements);
$markup = $this->elements($Elements);
# ~