From 218cf7a77f3b487a003b45adfb3687e52bdfdfe9 Mon Sep 17 00:00:00 2001
From: Titus Wormer <tituswormer@gmail.com>
Date: Thu, 13 Oct 2022 19:31:15 +0200
Subject: Add test for raw html w/o `>` after closing tag

---
 tests/html_flow.rs | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/html_flow.rs b/tests/html_flow.rs
index 546cb13..41f6565 100644
--- a/tests/html_flow.rs
+++ b/tests/html_flow.rs
@@ -208,6 +208,12 @@ p {color:blue;}
         "should support interrupting paragraphs w/ raw tags"
     );
 
+    assert_eq!(
+        to_html_with_options("<script>a</script\nb", &danger)?,
+        "<script>a</script\nb",
+        "should not support stopping raw if the closing tag does not have a `>`"
+    );
+
     assert_eq!(
         to_html_with_options("<script>\n  \n  \n</script>", &danger)?,
         "<script>\n  \n  \n</script>",
-- 
cgit