From e2c9664b0d63ec686f9e4625ac11bb21720f74dc Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 14 Jul 2022 15:01:03 +0200 Subject: Fix a bunch of container things * Fix a lot of container code * Fix to prevent code (indented) from interrupting a lazy container * Fix compiling when combining tight paragraphs, empty list items, and html * Fix list items starting w/ blank lines causing loose lists * Fix crash when looking for a previous blank line --- tests/block_quote.rs | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/block_quote.rs') diff --git a/tests/block_quote.rs b/tests/block_quote.rs index 782104f..647f6cc 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -76,12 +76,11 @@ fn block_quote() { "should not support lazy fenced code in block quotes" ); - // To do: container interrupt. - // assert_eq!( - // micromark("> a\n - b"), - // "
\n

a\n- b

\n
", - // "should not support lazy indented code (or lazy list) in block quotes" - // ); + assert_eq!( + micromark("> a\n - b"), + "
\n

a\n- b

\n
", + "should not support lazy indented code (or lazy list) in block quotes" + ); assert_eq!( micromark(">"), -- cgit