From a1449fa9d284b945a8d3a6204a75ab7730052aaa Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Tue, 15 Aug 2023 15:17:05 -0700 Subject: [PATCH] test: link with title and newline --- tests/fuzz.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/fuzz.rs b/tests/fuzz.rs index 4778cbb8..70e60f42 100644 --- a/tests/fuzz.rs +++ b/tests/fuzz.rs @@ -129,5 +129,11 @@ fn fuzz() -> Result<(), String> { "12: mdx: handle invalid mdx without panic (GH-26)" ); + assert_eq!( + to_html("[](a (a \n))"), + "

", + "yy: link and title with newline (GH-79)" + ); + Ok(()) }