fix: append trailing slash, fixes #111
This commit is contained in:
parent
f05ff5e62d
commit
3c7ece5405
3 changed files with 3 additions and 3 deletions
|
@ -131,7 +131,7 @@ const removeMarkdown = (
|
|||
}
|
||||
|
||||
const redir = (id, term) => {
|
||||
window.location.href = BASE_URL + `${id}#:~:text=${encodeURIComponent(term)}`
|
||||
window.location.href = `${BASE_URL}${id}#:~:text=${encodeURIComponent(term)}/`
|
||||
}
|
||||
|
||||
const formatForDisplay = id => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue