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:
parent
504991a04e
commit
5e95242318
@ -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);
|
||||
|
||||
# ~
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user