From d841003c6507caebe64d6fe0ee358a56fc464110 Mon Sep 17 00:00:00 2001 From: Emanuil Rusev Date: Thu, 17 Apr 2014 23:09:10 +0300 Subject: [PATCH] fenced code blocks should respect indnetation --- Parsedown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Parsedown.php b/Parsedown.php index 4364e86..e87996b 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -454,7 +454,7 @@ class Parsedown return $Block; } - $string = htmlspecialchars($Line['text'], ENT_NOQUOTES, 'UTF-8'); + $string = htmlspecialchars($Line['body'], ENT_NOQUOTES, 'UTF-8'); $Block['element']['text']['text'] .= "\n".$string;;