mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
URL-decode the ID to make it work with non-ASCII characters
Fixes #1812.
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user