diff --git a/crates/mdbook-html/front-end/searcher/searcher.js b/crates/mdbook-html/front-end/searcher/searcher.js index c715201205..5c4bab65a1 100644 --- a/crates/mdbook-html/front-end/searcher/searcher.js +++ b/crates/mdbook-html/front-end/searcher/searcher.js @@ -142,7 +142,7 @@ window.search = window.search || {}; const teaser = makeTeaser(escapeHTML(result.doc.body), searchterms); teaser_count++; - // The ?URL_MARK_PARAM= parameter belongs inbetween the page and the #heading-anchor + // The ?URL_MARK_PARAM= parameter belongs in between the page and the #heading-anchor const url = doc_urls[result.ref].split('#'); if (url.length === 1) { // no anchor found url.push('');