Trailing/leading whitespace included
Opened this issue · 0 comments
seanstan95 commented
Currently, any leading and trailing whitespace in the search bar is included in the search literally, which has on numerous occasions led me to thinking there's no results for something I'm searching for.
For example, searching for "in flames" gives dozens of results, but searching for " in flames" or "in flames " gives only a few. Odd that it matches at all given the whitespace is included there.
Please make it so that you trim any spaces at the start or end of a search term as it's far more intuitive - spaces between words are obviously fine. If I have time to look into it I could try a pull request myself but I don't at the moment 😅