diff --git a/Parsedown.php b/Parsedown.php index 19dd2cb..4085494 100755 --- a/Parsedown.php +++ b/Parsedown.php @@ -736,8 +736,6 @@ class Parsedown { $Block['closed'] = true; } - - $Block['markup'] .= $matches[1]; } if (isset($Block['interrupted'])) diff --git a/test/data/block-level_html.html b/test/data/block-level_html.html index 86ff865..5bdbda2 100644 --- a/test/data/block-level_html.html +++ b/test/data/block-level_html.html @@ -8,6 +8,8 @@ _content_

paragraph

\ No newline at end of file + +
+home
\ No newline at end of file diff --git a/test/data/block-level_html.md b/test/data/block-level_html.md index 679832c..d6964af 100644 --- a/test/data/block-level_html.md +++ b/test/data/block-level_html.md @@ -12,6 +12,9 @@ paragraph + +
+home
\ No newline at end of file