Skip to content

Commit

Permalink
Merge pull request #1712 from UziTech/hash-hash
Browse files Browse the repository at this point in the history
decode hash in docs
  • Loading branch information
UziTech committed Jun 20, 2020
2 parents bd4757f + 835f3a1 commit b198b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html
Expand Up @@ -198,7 +198,7 @@ <h1>Marked.js Documentation</h1>
var renderedPage = '';

function hashChange() {
var hash = location.hash.slice(1);
var hash = decodeURIComponent(location.hash.slice(1));
if (!hash) {
hash = 'README.md';
}
Expand Down

1 comment on commit b198b55

@vercel
Copy link

@vercel vercel bot commented on b198b55 Jun 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.