format
This commit is contained in:
parent
61d67c9057
commit
57e9297173
@ -58,7 +58,8 @@ function highlight(searchTerm: string, text: string, trim?: boolean) {
|
|||||||
})
|
})
|
||||||
.join(" ")
|
.join(" ")
|
||||||
|
|
||||||
return `${startIndex === 0 ? "" : "..."}${slice}${endIndex === tokenizedText.length - 1 ? "" : "..."
|
return `${startIndex === 0 ? "" : "..."}${slice}${
|
||||||
|
endIndex === tokenizedText.length - 1 ? "" : "..."
|
||||||
}`
|
}`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user