Improve the quality of snippets for search results (#6828)

* Improve the quality of snippets for search results

* Prefer full match

* tweak highlight regex
This commit is contained in:
Tom Moor
2024-04-22 07:40:13 -04:00
committed by GitHub
parent 9855adcd3b
commit 3825bc4181
4 changed files with 176 additions and 51 deletions

View File

@@ -78,7 +78,6 @@
"@sentry/node": "^7.99.0",
"@sentry/react": "^7.99.0",
"@tippyjs/react": "^4.2.6",
"@tommoor/remove-markdown": "^0.3.2",
"@types/form-data": "^2.5.0",
"@types/mailparser": "^3.4.4",
"@types/sanitize-filename": "^1.6.3",