diff --git a/tests/data/markup_end_conditions.html b/tests/data/markup_end_conditions.html
index 90d2112..6628d22 100644
--- a/tests/data/markup_end_conditions.html
+++ b/tests/data/markup_end_conditions.html
@@ -334,4 +334,28 @@ bar
 <p>foo</p>
 <body> foo
 <p>bar</p>
+<p>foo</p>
+<hr />
+<img>
+</script>
+bar
+<p>foo</p>
+<img>
+-->
+bar
+<p>foo</p>
+<img>
+?>
+bar
+<p>foo</p>
+<img>
+>
+bar
+<p>foo</p>
+<img>
+]]>
+bar
+<p>foo</p>
+<img>
+<p>bar</p>
 <p>foo</p>
\ No newline at end of file
diff --git a/tests/data/markup_end_conditions.md b/tests/data/markup_end_conditions.md
index 0f8c942..1073354 100644
--- a/tests/data/markup_end_conditions.md
+++ b/tests/data/markup_end_conditions.md
@@ -480,4 +480,42 @@ foo
 
 bar
 
+foo
+
+---
+
+<img>
+</script>
+bar
+
+foo
+
+<img>
+-->
+bar
+
+foo
+
+<img>
+?>
+bar
+
+foo
+
+<img>
+>
+bar
+
+foo
+
+<img>
+]]>
+bar
+
+foo
+
+<img>
+
+bar
+
 foo
\ No newline at end of file