You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Multiple reference call to the same footnotes will only generate one footnote-to-content link.
To Reproduce
Check the following markdown:
Several calls[^1][^1] to the same definition may occur.
[^1]: One definition here.
Then we get:
<p>Several calls<supid="fnref-1"><ahref="#fn-1" class="footnote-ref">1</a></sup><supid="fnref-1"><ahref="#fn-1" class="footnote-ref">1</a></sup> to the same definition may occur.</p><divclass="footnotes"><hr><ol><liid="fn-1">One definition here.<ahref="#fnref-1" class="footnote-backref">↩</a></li></ol></div>
Two reference calls get the same id and click the back link will only lead to the first call.
Expected behavior
Something like this:
<p>Several calls<supid="fnref-1"><ahref="#fn-1" class="footnote-ref">1</a></sup><supid="fnref-1:1"><ahref="#fn-1" class="footnote-ref">1</a></sup> to the same definition may occur.</p><divclass="footnotes"><hr><ol><liid="fn-1">One definition here.<ahref="#fnref-1" class="footnote-backref">↩</a><ahref="#fnref-1-1" class="footnote-backref">↩</a></li></ol></div>
Describe the bug
Multiple reference call to the same footnotes will only generate one footnote-to-content link.
To Reproduce
Check the following markdown:
Then we get:
Two reference calls get the same id and click the back link will only lead to the first call.
Expected behavior
Something like this:
Additional context
See String10/KGarden#37 for more details.
The text was updated successfully, but these errors were encountered: