aboutsummaryrefslogtreecommitdiff
path: root/test/command/5495.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/5495.md')
-rw-r--r--test/command/5495.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/5495.md b/test/command/5495.md
new file mode 100644
index 000000000..37370ccab
--- /dev/null
+++ b/test/command/5495.md
@@ -0,0 +1,18 @@
+```
+% pandoc -t markdown --reference-links
+All because of [1](#one) link...
+
+[This](#foo) will break Pandoc.
+
+[This](#bar) will make you laugh.
+^D
+All because of [1] link...
+
+[This] will break Pandoc.
+
+[This][2] will make you laugh.
+
+ [1]: #one
+ [This]: #foo
+ [2]: #bar
+```