Tidy url hash fragments.