From e9289b394c7748241c151e7902f7a30d1d29538f Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Sun, 13 Mar 2016 15:07:03 +0200 Subject: [PATCH] Merge with upstream --- Parsedown.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Parsedown.php b/Parsedown.php index efc2992..7983365 100644 --- a/Parsedown.php +++ b/Parsedown.php @@ -488,11 +488,12 @@ class Parsedown $class = 'language-'.$matches[1]; $Element['attributes'] = array( - 'class' => $class, + 'class' => $class, ); } $Block = array( + 'char' => $Line['text'][0], 'element' => array( 'name' => 'pre', 'handler' => 'element',