Add support for recursive handlers

This commit is contained in:
Aidan Woods 2018-03-31 12:07:53 +01:00
parent 9f1f5de387
commit e4d6c8f911
1 changed files with 5 additions and 0 deletions

View File

@ -1560,6 +1560,11 @@ class Parsedown
}
$Element[$destination] = $this->{$function}($argument, $Element['nonNestables']);
if ($destination === 'handler')
{
$Element = $this->handle($Element);
}
}
unset($Element['handler']);