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
Hi,
Thanks for this nice script.
I use footnotes generated from markdown.
Classicaly markdown footnotes are generated like this : <a href="#fn:1" class="footnote-ref">1</a>
..but it fails with your script that uses the querySelectorfunction because of the colon contained in the link.
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#fn:1' is not a valid selector.
Any idea how to resolve it ?
Many thanks !
The text was updated successfully, but these errors were encountered:
Hi,
Thanks for this nice script.
I use footnotes generated from markdown.
Classicaly markdown footnotes are generated like this :
<a href="#fn:1" class="footnote-ref">1</a>
..but it fails with your script that uses the
querySelector
function because of the colon contained in the link.Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '#fn:1' is not a valid selector.
Any idea how to resolve it ?
Many thanks !
The text was updated successfully, but these errors were encountered: