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

Add support for recursive handlers

This commit is contained in:
Aidan Woods 2018-03-31 12:07:53 +01:00
parent 9f1f5de387
commit e4d6c8f911

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']);