Closed hellux closed 1 year ago
Are dummy footnotes supposed be rendered?
[^a]
has a footnote section but no visible dummy footnote:
<p><a id="fnref1" href="#fn1" role="doc-noteref"><sup>1</sup></a></p>
<section role="doc-endnotes">
<hr>
<ol>
</ol>
</section>
However,
[^a]
[^b]
[^b]: b
does have a visible dummy footnote for [^a]
:
<p><a id="fnref1" href="#fn1" role="doc-noteref"><sup>1</sup></a>
<a id="fnref2" href="#fn2" role="doc-noteref"><sup>2</sup></a></p>
<section role="doc-endnotes">
<hr>
<ol>
<li id="fn1">
<p><a href="#fnref1" role="doc-backlink">↩︎︎</a></p>
</li>
<li id="fn2">
<p>b<a href="#fnref2" role="doc-backlink">↩︎︎</a></p>
</li>
</ol>
</section>
I guess the change I made ensures that dummy footnotes are rendered between non-dummy notes. That ensures that the number sequence is right. But this change doesn't cause a dummy note to be inserted if there are no following real notes. Probably that should change.
yields