fix: Prevent premature HTML escaping of search terms
Co-authored-by: aider (gemini/gemini-2.5-pro) <aider@aider.chat>
This commit is contained in:
@@ -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'), ' ')
|
||||
|
||||
Reference in New Issue
Block a user