URL-decode the ID to make it work with non-ASCII characters
Fixes #1812.
This commit is contained in:
parent
dfdf19e17f
commit
509ef01213
|
@ -118,7 +118,7 @@
|
|||
|
||||
function idFromHash(target) {
|
||||
if (!target.hash) return;
|
||||
return target.hash.substring(1);
|
||||
return decodeURIComponent(target.hash.substring(1));
|
||||
}
|
||||
/** @type {{fnref(target:HTMLAnchorElement): string|undefined}[]} */
|
||||
const footnoteFormats = [
|
||||
|
|
Loading…
Reference in New Issue