From c0192132cfbe2bc7ee22519b556cf9dbf52bac47 Mon Sep 17 00:00:00 2001 From: David A Roberts Date: Tue, 2 May 2017 17:00:37 +1000 Subject: Markdown writer: Case-insensitive reference links. (#3616) Ensure that we do not generate reference links whose labels differ only by case. Also allow implicit reference links when the link text and label are identical up to case. Closes #3615. --- test/command/3615.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/command/3615.md (limited to 'test') diff --git a/test/command/3615.md b/test/command/3615.md new file mode 100644 index 000000000..5fbd48b3a --- /dev/null +++ b/test/command/3615.md @@ -0,0 +1,18 @@ +``` +% pandoc -f html -t markdown --reference-links +foo Foo +^D +[foo][] [Foo][1] + + [foo]: a + [1]: b +``` + +``` +% pandoc -f html -t markdown --reference-links +foo Foo +^D +[foo][] [Foo] + + [foo]: a +``` -- cgit v1.2.3