Skip to content

Commit

Permalink
Merge pull request BloomBooks#559 from StephenMcConnel/BL-13307-Impro…
Browse files Browse the repository at this point in the history
…veBreadcrumbs

Add italic to emphasis for search strings (BL-13307) (BloomBooks#559)
  • Loading branch information
andrew-polk authored Jul 23, 2024
2 parents d357f43 + 57ed846 commit 36f07f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ export const Breadcrumbs: React.FunctionComponent<{
label.substring(indexBold + boldedText.length + 2)
);
const bolded = (
<strong>{decodeURIComponent(boldedText)}</strong>
<em>
<strong>{decodeURIComponent(boldedText)}</strong>
</em>
);
displayWithBold = (
<span>
Expand Down

0 comments on commit 36f07f2

Please sign in to comment.