diff --git a/docs/index.html b/docs/index.html
index a6c293083e..cfe2c7a818 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -198,7 +198,7 @@
Marked.js Documentation
var renderedPage = '';
function hashChange() {
- var hash = location.hash.slice(1);
+ var hash = decodeURIComponent(location.hash.slice(1));
if (!hash) {
hash = 'README.md';
}