We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba2881b commit 2ba7478Copy full SHA for 2ba7478
src/scripts/footnotes.ts
@@ -9,7 +9,7 @@ if (footnotes) {
9
const content = note.querySelector("p") as HTMLParagraphElement;
10
11
const fnrefs = document.querySelectorAll<HTMLAnchorElement>(
12
- `#${note.id.replace("fn", "fnref")}`,
+ `a[id^='${note.id.replace("fn", "fnref")}']`,
13
);
14
15
for (const fnref of fnrefs) {
0 commit comments