We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0247b61 commit 732e6c0Copy full SHA for 732e6c0
packages/@vuepress/theme-default/components/AlgoliaSearchBox.vue
@@ -59,7 +59,8 @@ export default {
59
handleSelected: (input, event, suggestion) => {
60
const { pathname, hash } = new URL(suggestion.url)
61
const routepath = pathname.replace(this.$site.base, '/')
62
- this.$router.push(`${routepath}${hash}`)
+ const _hash = decodeURIComponent(hash)
63
+ this.$router.push(`${routepath}${_hash}`)
64
}
65
66
))
0 commit comments