1
0
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:
Aidan Woods 2018-04-08 18:40:50 +01:00
parent 1d68e5506c
commit 43d25a74fe
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -1650,11 +1650,11 @@ class Parsedown
{
if (isset($Element['elements']))
{
$Element['elements'] = $this->elementsApplyRecursive($closure, $Element['elements']);
$Element['elements'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['elements']);
}
elseif (isset($Element['element']))
{
$Element['element'] = $this->elementApplyRecursive($closure, $Element['element']);
$Element['element'] = $this->elementsApplyRecursiveDepthFirst($closure, $Element['element']);
}
$Element = call_user_func($closure, $Element);