From c09a57763a43b7f2b594703af8bba53d4c137742 Mon Sep 17 00:00:00 2001 From: Stats274 Date: Thu, 6 Feb 2025 20:20:35 +0100 Subject: [PATCH] Update SearchIndex.php Edit app/Search/SearchIndex.php, add a hyphen (-) to $delimiters https://github.com/BookStackApp/BookStack/issues/5471#issuecomment-2633970949 --- app/Search/SearchIndex.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Search/SearchIndex.php b/app/Search/SearchIndex.php index c7d9d6502e2..106a5bd4f8e 100644 --- a/app/Search/SearchIndex.php +++ b/app/Search/SearchIndex.php @@ -16,7 +16,7 @@ class SearchIndex /** * A list of delimiter characters used to break-up parsed content into terms for indexing. */ - public static string $delimiters = " \n\t.,!?:;()[]{}<>`'\""; + public static string $delimiters = " \n\t.,-«»!?:;()[]{}<>`'\""; public function __construct( protected EntityProvider $entityProvider