From b75fd409ffb0a935a02a8af3c84c0c9e92b49dd3 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Thu, 12 Apr 2018 21:10:09 +0100 Subject: [PATCH] Must unset text key so that our destination is preferred as content --- Parsedown.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Parsedown.php b/Parsedown.php index 5baf6ab..87f9337 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -1585,6 +1585,7 @@ class Parsedown { $function = $Element['handler']; $argument = $Element['text']; + unset($Element['text']); $destination = 'rawHtml'; } else