Files
pandoc/test/command/4235.md
T
Benjamin Esham 9190b19fc7 HTML writer: use the ID prefix in the ID for the footnotes section.
In general, the ID prefix makes it possible to combine multiple pieces
of Pandoc-generated HTML with no possibility that IDs will conflict. One
exception to this was that the footnotes were always put into an element
like

    <aside id="foonotes" ...>

This commit applies the ID prefix to this ID as well.
2023-09-01 11:42:48 -07:00

396 B

% pandoc --id-prefix=foo
This.^[Has a footnote.]
^D
<p>This.<a href="#foofn1" class="footnote-ref" id="foofnref1"
role="doc-noteref"><sup>1</sup></a></p>
<aside id="foofootnotes" class="footnotes footnotes-end-of-document"
role="doc-endnotes">
<hr />
<ol>
<li id="foofn1"><p>Has a footnote.<a href="#foofnref1"
class="footnote-back" role="doc-backlink">↩︎</a></p></li>
</ol>
</aside>