diff options
author | John MacFarlane <jgm@berkeley.edu> | 2021-01-05 12:07:02 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2021-01-05 12:07:02 -0800 |
commit | 15ba184e6e7825898ebae5a59e2c3a60e0992da0 (patch) | |
tree | 17dfd0da73f21da8e1570a611d772c63a3e48ade /test | |
parent | 385b6a3b215124fd2dfa044b8847d69a6cf14a73 (diff) | |
download | pandoc-15ba184e6e7825898ebae5a59e2c3a60e0992da0.tar.gz |
HTML writer: fix implicit_figure at end of footnotes.
Closes #7006.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/7006.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/command/7006.md b/test/command/7006.md new file mode 100644 index 000000000..e7951fb1a --- /dev/null +++ b/test/command/7006.md @@ -0,0 +1,20 @@ +``` +% pandoc -t html +Test.[^fn] + +[^fn]: Foo: + +  +^D +<p>Test.<a href="#fn1" class="footnote-ref" id="fnref1" role="doc-noteref"><sup>1</sup></a></p> +<section class="footnotes" role="doc-endnotes"> +<hr /> +<ol> +<li id="fn1" role="doc-endnote"><p>Foo:</p> +<figure> +<img src="/image.jpg" alt="Caption." /><figcaption aria-hidden="true">Caption.</figcaption> +</figure> +<a href="#fnref1" class="footnote-back" role="doc-backlink">↩︎</a></li> +</ol> +</section> +``` |