From 1fa6b038af2eb7cc34f7989cab39c5c62ba201e1 Mon Sep 17 00:00:00 2001 From: Aidan Woods Date: Sun, 18 Mar 2018 23:06:26 +0000 Subject: [PATCH] PHP 5.3 compat --- Parsedown.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Parsedown.php b/Parsedown.php index 0e82ed5..e015be8 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -1416,7 +1416,8 @@ class Parsedown protected function unmarkedText($text) { - return $this->element($this->inlineText($text)['element']); + $Inline = $this->inlineText($text); + return $this->element($Inline['element']); } #