From ba05e1ea02d5227796f12dea2404285300021de6 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 23 Feb 2019 15:40:06 -0700 Subject: Shared.compactify: Avoid mixed lists. This improves on the original fix to #5285 by preventing other mixed lists (lists with a mix of Plain and Para elements) that were allowed given the original fix. --- test/command/5285.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'test/command') diff --git a/test/command/5285.md b/test/command/5285.md index 780812761..6085ec1a9 100644 --- a/test/command/5285.md +++ b/test/command/5285.md @@ -13,3 +13,20 @@ ,[Para [Str "a"]] ,[Para [Str "b"]]]] ``` + +``` +% pandoc -t native +- foo + + foo +- foo + + > foo +^D +[BulletList + [[Para [Str "foo"] + ,Para [Str "foo"]] + ,[Para [Str "foo"] + ,BlockQuote + [Para [Str "foo"]]]]] +``` -- cgit v1.2.3