diff --git a/src/web/autocomplete.rs b/src/web/autocomplete.rs index 4cdce19..7d5b671 100644 --- a/src/web/autocomplete.rs +++ b/src/web/autocomplete.rs @@ -9,7 +9,6 @@ pub async fn route(Query(params): Query>) -> impl IntoRe .get("q") .cloned() .unwrap_or_default() - .trim() .replace('\n', " "); let res = match engines::autocomplete(&query).await {