mirror of
https://github.com/ZetaKebab/quartz.git
synced 2025-06-22 00:34:37 +00:00
fix: append trailing slash, fixes #111
This commit is contained in:
@ -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 => ({
|
||||
|
Reference in New Issue
Block a user