mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Loki: fix label browser crashing when + typed (#33900)
This commit is contained in:
parent
7c5d3435f9
commit
46abef7800
@ -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>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user