c0192132cf
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.
18 lines
261 B
Markdown
18 lines
261 B
Markdown
```
|
|
% pandoc -f html -t markdown --reference-links
|
|
<a href="a">foo</a> <a href="b">Foo</a>
|
|
^D
|
|
[foo][] [Foo][1]
|
|
|
|
[foo]: a
|
|
[1]: b
|
|
```
|
|
|
|
```
|
|
% pandoc -f html -t markdown --reference-links
|
|
<a href="a">foo</a> <a href="a">Foo</a>
|
|
^D
|
|
[foo][] [Foo]
|
|
|
|
[foo]: a
|
|
```
|