From 49b6a4e72516e8b2a8768e761a60a4f461802d69 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 22 Aug 2022 17:32:40 +0200 Subject: Fix lazy paragraph after definition --- tests/list.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/list.rs') diff --git a/tests/list.rs b/tests/list.rs index fc416cc..bbba7cd 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -261,6 +261,18 @@ fn list() { "should support partially continued, partially lazy lines combined w/ other containers" ); + assert_eq!( + micromark("- [\na"), + "", + "should support lazy, definition-like lines" + ); + + assert_eq!( + micromark("- [a]: b\nc"), + "", + "should support a definition, followed by a lazy paragraph" + ); + assert_eq!( micromark("- foo\n - bar\n - baz\n - boo"), "", -- cgit