From 576b0ea761415695651bc7b0314813fdbceb8cb4 Mon Sep 17 00:00:00 2001 From: kaamaru Date: Wed, 18 Dec 2013 12:32:49 +0000 Subject: [PATCH] Fix HTML Bug If you add markdown after HTML on the same line, all the remaining markdown will not be parsed. Demo: Add " *test*" without quotes to the top of a markdown page on it's own line and then parse. --- Parsedown.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Parsedown.php b/Parsedown.php index f4e0ead..63f80d7 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -618,6 +618,12 @@ class Parsedown isset($element['last']) and $markup .= ''."\n"; break; + + case 'markup': + + $markup .= $this->parse_span_elements($element['text'])."\n"; + + break; default: