format
This commit is contained in:
1 parent
16987a029d
commit
cf19654049
1 file changed
+2
-1
@@ -58,7 +58,8 @@ function highlight(searchTerm: string, text: string, trim?: boolean) {
|
||||
})
|
||||
.join(" ")
|
||||
|
||||
return `${startIndex === 0 ? "" : "..."}${slice}${endIndex === tokenizedText.length - 1 ? "" : "..."
|
||||
return `${startIndex === 0 ? "" : "..."}${slice}${
|
||||
endIndex === tokenizedText.length - 1 ? "" : "..."
|
||||
}`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user