Created
January 26, 2018 03:30
-
-
Save wmh/ae1c1e990986d949e11f2756792b92bf to your computer and use it in GitHub Desktop.
Fix go-ethereum wiki anchors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/ethereum/go-ethereum/wiki/Management-APIs | |
document.querySelectorAll('a').forEach(function (a) { | |
var href = a.getAttribute('href'); | |
if (href.indexOf('#') === 0 && href !== href.toLowerCase()) { | |
a.setAttribute('href', href.toLowerCase()); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment