diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-01-09 15:29:27 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-01-09 15:29:27 -0800 |
commit | e3f01235e9966d662bb956dbdc66c0f64c759d0a (patch) | |
tree | dbbe15d2121a9e37e12cae3e3548deffc76ebea9 /test/command | |
parent | 87e16563f4513c22a3656707550736d74246cd5e (diff) | |
download | pandoc-e3f01235e9966d662bb956dbdc66c0f64c759d0a.tar.gz |
HTML writer: Fixed footnote backlinks with --id-prefix.
Closes #4235.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4235.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/command/4235.md b/test/command/4235.md new file mode 100644 index 000000000..afeac2a40 --- /dev/null +++ b/test/command/4235.md @@ -0,0 +1,12 @@ +``` +% pandoc --id-prefix='foo' +This.^[Has a footnote.] +^D +<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"><sup>1</sup></a></p> +<section class="footnotes"> +<hr /> +<ol> +<li id="foofn1"><p>Has a footnote.<a href="#foofnref1" class="footnote-back">↩</a></p></li> +</ol> +</section> +``` |