diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-08 23:16:01 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-08 23:16:01 -0800 |
commit | 47537d26db29b9dd0810d039933497d4db4ed813 (patch) | |
tree | a0b5cc5d3cf728eb5a40e8ad716bf48165dcec89 /test/command | |
parent | 5c8e12b64bc51542a208b11fb15fa1916bba5a42 (diff) | |
download | pandoc-47537d26db29b9dd0810d039933497d4db4ed813.tar.gz |
Improve tight/loose list handling.
Closes #5285. Previously the algorithm allowed list items
with a mix of Para and Plain, which is never wanted.
compactify in T.P.Shared has been modified so that, if
a list's items contain (at the top level) Para elements
(aside from perhaps at the very end), ALL Plains are
converted to Paras.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/5285.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/5285.md b/test/command/5285.md new file mode 100644 index 000000000..780812761 --- /dev/null +++ b/test/command/5285.md @@ -0,0 +1,15 @@ +``` +% pandoc -t native +- a + + b +- a + +- b +^D +[BulletList + [[Para [Str "a"] + ,Para [Str "b"]] + ,[Para [Str "a"]] + ,[Para [Str "b"]]]] +``` |