Skip to content

Commit

Permalink
Merge pull request #29 from easyops-cn/steve/fix-url
Browse files Browse the repository at this point in the history
fix: fix missing hash in search page links
  • Loading branch information
weareoutman authored Nov 17, 2020
2 parents 1dc9423 + 8f1b889 commit 2dc6535
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 2dc6535

Please sign in to comment.