aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-10-28 21:14:01 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-10-28 21:14:01 -0700
commit47566817c559557f5bc6c9c503afa1a37bf7df90 (patch)
tree430027938b0e21c53a115ce449aae755f6a319a6 /test/command
parent57e2148ca2b9604b35cfceacbd89487d6f5f8aab (diff)
downloadpandoc-47566817c559557f5bc6c9c503afa1a37bf7df90.tar.gz
Shared: improve isTight.
If a list has an empty item, this should not count against its being a tight list. Closes #5857.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/5857.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/5857.md b/test/command/5857.md
new file mode 100644
index 000000000..31320cd12
--- /dev/null
+++ b/test/command/5857.md
@@ -0,0 +1,11 @@
+```
+% pandoc -f native -t markdown
+[BulletList
+ [[Plain [Str "a"]]
+ ,[]
+ ,[Plain [Str "b"]]]]
+^D
+- a
+-
+- b
+```