Percent-escape URL hash in self-links