diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-23 15:40:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-25 17:33:54 -0800 |
commit | ba05e1ea02d5227796f12dea2404285300021de6 (patch) | |
tree | 6ee0d7372dcfcd55c67c52b590b32cb1c12701f0 /test/command | |
parent | 38c028bd50fc3781e69370864f163f8d33fd481f (diff) | |
download | pandoc-ba05e1ea02d5227796f12dea2404285300021de6.tar.gz |
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.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5285.md | 17 |
1 files changed, 17 insertions, 0 deletions
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"]]]]] +``` |