We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4fafb commit 1923e6fCopy full SHA for 1923e6f
src/format.ts
@@ -6,7 +6,7 @@ function replaceHighlightTags(
6
highlightPreTag?: string,
7
highlightPostTag?: string
8
): string {
9
- let newHighlightValue = value || ''
+ let newHighlightValue = JSON.stringify(value) || ''
10
// If the value of the attribute is a string,
11
// the highlight is applied by MeiliSearch (<em> tags)
12
// and we replace the <em> by the expected tag for InstantSearch
0 commit comments