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 3231b70 commit 71a2adbCopy full SHA for 71a2adb
web_src/js/markdown/anchors.js
@@ -5,7 +5,7 @@ const headingSelector = '.markdown h1, .markdown h2, .markdown h3, .markdown h4,
5
function scrollToAnchor() {
6
if (document.querySelector(':target')) return;
7
if (!window.location.hash || window.location.hash.length <= 1) return;
8
- const id = window.location.hash.substring(1);
+ const id = decodeURIComponent(window.location.hash.substring(1));
9
const el = document.getElementById(`user-content-${id}`);
10
if (el) {
11
el.scrollIntoView();
0 commit comments