From db3c46a613a2b1c1671a38f87fdd268a12539c3f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 26 Oct 2022 12:56:18 +0200 Subject: Fix GFM tables interfering with other constructs Closes GH-19. Co-authored-by: Christian Murphy --- tests/fuzz.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/fuzz.rs') diff --git a/tests/fuzz.rs b/tests/fuzz.rs index 72f365e..1e80701 100644 --- a/tests/fuzz.rs +++ b/tests/fuzz.rs @@ -68,5 +68,11 @@ fn fuzz() -> Result<(), String> { "6-b: container close after unclosed fenced code, with eol (list, GH-16)" ); + assert_eq!( + to_html_with_options("> x\n``", &Options::gfm()), + Ok("
\n

x

\n
\n

``

".into()), + "7: lazy container lines almost starting fenced code (GH-19)" + ); + Ok(()) } -- cgit