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 9ff44dc commit 9a116a0Copy full SHA for 9a116a0
src/scripts/footnotes.ts
@@ -10,7 +10,7 @@ if (footnotes) {
10
const content = note.querySelector("p") as HTMLParagraphElement;
11
12
const fnrefs = document.querySelectorAll<HTMLAnchorElement>(
13
- `a[id^='${note.id.replace("fn", "fnref")}']`,
+ `a[id|='${note.id.replace("fn", "fnref")}']`,
14
);
15
16
for (const fnref of fnrefs) {
0 commit comments