mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Fix function name
This commit is contained in:
parent
1d68e5506c
commit
43d25a74fe
@ -1650,11 +1650,11 @@ class Parsedown
|
|||||||
{
|
{
|
||||||
if (isset($Element['elements']))
|
if (isset($Element['elements']))
|
||||||
{
|
{
|
||||||
$Element['elements'] = $this->elementsApplyRecursive($closure, $Element['elements']);
|
$Element['elements'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['elements']);
|
||||||
}
|
}
|
||||||
elseif (isset($Element['element']))
|
elseif (isset($Element['element']))
|
||||||
{
|
{
|
||||||
$Element['element'] = $this->elementApplyRecursive($closure, $Element['element']);
|
$Element['element'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['element']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$Element = call_user_func($closure, $Element);
|
$Element = call_user_func($closure, $Element);
|
||||||
|
Loading…
Reference in New Issue
Block a user