Skip to content

Commit

Permalink
fix: fix missing hash in search page links
Browse files Browse the repository at this point in the history
  • Loading branch information
weareoutman committed Nov 17, 2020
1 parent 1dc9423 commit 8f1b889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme/SearchPage/SearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function SearchResultItem({
<article className={styles.searchResultItem}>
<h2>
<Link
to={document.u}
to={document.u + (document.h || "")}
dangerouslySetInnerHTML={{
__html: isContent
? highlight(articleTitle, tokens)
Expand Down

0 comments on commit 8f1b889

Please sign in to comment.