From 2cd3e65fd85b137f4951c5ccfdc259c06d49c80e Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 25 Oct 2022 12:07:04 +0200 Subject: Fix lists in MDX Closes GH-11. --- tests/mdx_expression_flow.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/mdx_expression_flow.rs') diff --git a/tests/mdx_expression_flow.rs b/tests/mdx_expression_flow.rs index 4281e5d..559e08c 100644 --- a/tests/mdx_expression_flow.rs +++ b/tests/mdx_expression_flow.rs @@ -95,6 +95,12 @@ fn mdx_expression_flow_agnostic() -> Result<(), String> { "should support expressions preceded by spaces" ); + assert_eq!( + to_html_with_options("a\n\n* b", &mdx)?, + "

a

\n", + "should support lists after non-expressions (GH-11)" + ); + assert_eq!( to_html_with_options("> {a\nb}", &mdx) .err() -- cgit