From 65dd765cceee8bdccc74c08066eec59a579a16b1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jun 2022 17:06:00 +0200 Subject: Add improved whitespace handling * add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves --- tests/autolink.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/autolink.rs') diff --git a/tests/autolink.rs b/tests/autolink.rs index 9d394d7..51873ed 100644 --- a/tests/autolink.rs +++ b/tests/autolink.rs @@ -7,7 +7,7 @@ const DANGER: &CompileOptions = &CompileOptions { }; #[test] -fn autolink() { +fn code_fenced() { assert_eq!( micromark("```\n<\n >\n```"), "
<\n >\n
", -- cgit