diff --git a/src/tools/text-processing.ts b/src/tools/text-processing.ts index 955e4b4..8d2fb3a 100644 --- a/src/tools/text-processing.ts +++ b/src/tools/text-processing.ts @@ -64,7 +64,6 @@ export class TextProcessor { words: string[], query?: Query ): SearchMatch[] { - words = words.map(escapeHTML) const reg = this.stringsToRegex(words) const originalText = text // text = text.toLowerCase().replace(new RegExp(SEPARATORS, 'gu'), ' ')