Skip to content

Commit

Permalink
Fix format of search result to external target.
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Aug 7, 2023
1 parent 6214066 commit 9d35007
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/components/Views/FacetedSearch.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,11 +253,14 @@ const _CustomResultsListItem = (props) => {
) : null}
{is_external_content ? (
<React.Fragment>
<Item.Header>
<a target="_blank" href={item_url} rel="noopener noreferrer">
{result.title}
</a>
</Item.Header>
<a
className="header"
target="_blank"
href={item_url}
rel="noopener noreferrer"
>
{result.title}
</a>
<Item.Description>
<a target="_blank" href={item_url} rel="noopener noreferrer">
{truncate(result.description, { length: 200 })}
Expand Down

0 comments on commit 9d35007

Please sign in to comment.