aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-11-17 20:36:59 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-11-17 20:36:59 -0800
commitbf3fea0a8cc65d140db55fc1af88be17d4df3e8b (patch)
tree74b054cb79d0e91efa0b9b115480f740b7752bde /test/command
parentd464757132c028386cbeca0e0e3591dce1766bbd (diff)
downloadpandoc-bf3fea0a8cc65d140db55fc1af88be17d4df3e8b.tar.gz
Markdown reader: fix regression with example list references.
This affects example list references followed by dashes. Introduced by commit b8d17f7. Closes #6855.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6855.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/6855.md b/test/command/6855.md
new file mode 100644
index 000000000..46f1ccf65
--- /dev/null
+++ b/test/command/6855.md
@@ -0,0 +1,12 @@
+```
+% pandoc -t markdown
+(@a) one
+(@b) two
+
+See (@a--@b)
+^D
+(1) one
+(2) two
+
+See (1--2)
+```