diff --git a/src/block.rs b/src/block.rs index 40485e0..77d3639 100644 --- a/src/block.rs +++ b/src/block.rs @@ -1694,6 +1694,22 @@ mod test { (Inline, "para"), (Exit(Leaf(Paragraph)), ""), ); + test_parse!( + concat!( + "{.a}\n", // + "\n", // + "{.b}\n", // + "\n", // + "para\n", // + ), + (Atom(Attributes), "{.a}\n"), + (Atom(Blankline), "\n"), + (Atom(Attributes), "{.b}\n"), + (Atom(Blankline), "\n"), + (Enter(Leaf(Paragraph)), ""), + (Inline, "para"), + (Exit(Leaf(Paragraph)), ""), + ); } #[test]