(cherry picked from commit 46abef7800)
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
This commit is contained in:
co-authored by
Zoltán Bedi
parent
28edbbbbbb
commit
d0a8e241e0
@@ -56,7 +56,12 @@ export const LokiLabel = forwardRef<HTMLElement, Props>(
|
||||
)}
|
||||
{...rest}
|
||||
>
|
||||
<Highlighter textToHighlight={text} searchWords={searchWords} highlightClassName={styles.matchHighLight} />
|
||||
<Highlighter
|
||||
textToHighlight={text}
|
||||
searchWords={searchWords}
|
||||
autoEscape={true}
|
||||
highlightClassName={styles.matchHighLight}
|
||||
/>
|
||||
</span>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user