diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2023-09-07 22:14:32 +0200 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2023-09-07 22:14:32 +0200 |
| commit | f8ae6710e870fd7a2f4210b85ec0d509fe350e28 (patch) | |
| tree | f90b56d7d17a16c6544d427c0c71ce6cbc9598fe /templates/searchresults.html | |
| parent | 6666730fa01effdedd62ee4b65abe088e29a0ff8 (diff) | |
| download | reploy-f8ae6710e870fd7a2f4210b85ec0d509fe350e28.tar.gz reploy-f8ae6710e870fd7a2f4210b85ec0d509fe350e28.tar.bz2 | |
use unicode-aware tokenizer separator
Diffstat (limited to 'templates/searchresults.html')
| -rw-r--r-- | templates/searchresults.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/searchresults.html b/templates/searchresults.html index 5044d0b..5ced869 100644 --- a/templates/searchresults.html +++ b/templates/searchresults.html @@ -31,6 +31,7 @@ <script src="{{root}}static/lunr.min.js"></script> <script> + lunr.QueryLexer.termSeparator = /(\p{P}|\p{S}|\p{Z}|\p{C})+/u; var el_query = document.getElementById('search_query'); var el_placeholder = document.getElementById('search_placeholder'); var el_noquery = document.getElementById('search_noquery'); |
