aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-08-29 19:14:50 -0700
committerJohn MacFarlane <[email protected]>2023-08-29 19:14:50 -0700
commitcd3fcd5c0e3382097bce81b9836a6a340ec9931b (patch)
treebebae25435f16128d6197f3bcc51afc90911864f /test
parent353177f9e7eadd60d66846325abd537b85fd46bb (diff)
Markdown reader: fix dropped `!` before nonexistent reference.
In e.g. `![foo]` the `!` would be silently dropped if `[foo]` wasn't a reference link label. Closes #9038.
Diffstat (limited to 'test')
-rw-r--r--test/command/9038.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/command/9038.md b/test/command/9038.md
new file mode 100644
index 000000000..3c786aaa1
--- /dev/null
+++ b/test/command/9038.md
@@ -0,0 +1,6 @@
+```
+% pandoc -t native
+![foo]
+^D
+[ Para [ Str "![foo]" ] ]
+```