Encoded hash URL does not scroll to top properly
A URL with a hash reference that has to be encoded causes MathJax to fail to locate the element to scroll to the top. See this forum post for details.
The issue is that the location.hash
at line 2708 is not decoded. It should use decodeURIComponent()
so that if it is UTF-8 encoded, it will be properly decoded before used.