From e4d6c8f91138e50b9471cc67c87935ec6bbfe839 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sat, 31 Mar 2018 12:07:53 +0100 Subject: [PATCH] Add support for recursive handlers --- Parsedown.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Parsedown.php b/Parsedown.php index 6023808..fd68ce5 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -1560,6 +1560,11 @@ class Parsedown } $Element[$destination] = $this->{$function}($argument, $Element['nonNestables']); + + if ($destination === 'handler') + { + $Element = $this->handle($Element); + } } unset($Element['handler']);