diff --git a/src/assets/javascripts/integrations/search/highlighter/index.ts b/src/assets/javascripts/integrations/search/highlighter/index.ts index e9f38c89d..99f6d16c4 100644 --- a/src/assets/javascripts/integrations/search/highlighter/index.ts +++ b/src/assets/javascripts/integrations/search/highlighter/index.ts @@ -71,7 +71,7 @@ export function setupSearchHighlighter( /* Return factory function */ return (value: string) => { value = value - .replace(/[\s*+-:~^]+/g, " ") + .replace(/[\s*+\-:~^]+/g, " ") .trim() /* Create search term match expression */