diff --git a/site/theme/template/Content/MainContent.jsx b/site/theme/template/Content/MainContent.jsx index 4c697c4804..405279e7a4 100644 --- a/site/theme/template/Content/MainContent.jsx +++ b/site/theme/template/Content/MainContent.jsx @@ -72,7 +72,7 @@ export default class MainContent extends React.Component { } this.timer = setTimeout(() => { if (window.location.hash) { - document.querySelector(window.location.hash).scrollIntoView(); + document.querySelector(decodeURIComponent(window.location.hash)).scrollIntoView(); } }, 50); }