diff --git a/assets/js/util.js b/assets/js/util.js index 530bd7dc0..bd434c733 100644 --- a/assets/js/util.js +++ b/assets/js/util.js @@ -117,7 +117,7 @@ const resultToHTML = ({ url, title, content }) => { const redir = (id, term) => { const shouldTrim = PRODUCTION && SEARCH_ENABLED const baseURLPrefix = shouldTrim ? "" : BASE_URL.replace(/\/$/g, "") - const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}/` + const urlString = `${baseURLPrefix}${id}#:~:text=${encodeURIComponent(term)}` window.Million.navigate( new URL(urlString), ".singlePage",