]> BookStack Code Mirror - bookstack/commitdiff
Fix search issue for words inside Guillemets (« ») without spaces 5475/head
authorinv-hareesh <redacted>
Fri, 7 Feb 2025 03:29:36 +0000 (08:59 +0530)
committerinv-hareesh <redacted>
Fri, 7 Feb 2025 03:29:36 +0000 (08:59 +0530)
app/Search/SearchIndex.php

index c7d9d6502e272ed4edae6b2cf6d402b7ea43464b..e10219e2d2f4a63521a86cf52a6b0672a93beb0e 100644 (file)
@@ -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