From b00fafbdcba39e7e17144b07834702629b891062 Mon Sep 17 00:00:00 2001
From: Titus Wormer 
Date: Tue, 14 Jun 2022 18:57:28 +0200
Subject: Fix support for deep subtokenization
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
*   Fix a couple of forgotten line ending handling in html (text)
*   Fix missing initial case for html (text) not having a `<` 😬
*   Add line ending handling to `text` construct
---
 tests/html_flow.rs | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
(limited to 'tests/html_flow.rs')
diff --git a/tests/html_flow.rs b/tests/html_flow.rs
index 49a6ea8..6445af3 100644
--- a/tests/html_flow.rs
+++ b/tests/html_flow.rs
@@ -116,12 +116,11 @@ p {color:blue;}
         "should support an eof directly after a raw tag name"
     );
 
-    // To do: line endings in html text.
-    // assert_eq!(
-    //     micromark_with_options("</script\nmore
",
-    //     "should not support a raw closing tag"
-    // );
+    assert_eq!(
+        micromark_with_options("</script\nmore",
+        "should not support a raw closing tag"
+    );
 
     assert_eq!(
         micromark_with_options("