When searching for hashtags, don't force lower case

main
Bob Mottram 2022-08-23 15:14:15 +01:00
parent 4f9bfec9ed
commit be4638706c
1 changed files with 4 additions and 1 deletions

View File

@ -3853,7 +3853,10 @@ class PubServer(BaseHTTPRequestHandler):
search_str = search_str.split('&')[0]
search_str = \
urllib.parse.unquote_plus(search_str.strip())
search_str = search_str.lower().strip()
search_str = search_str.strip()
# hashtags can be combined case
if not search_str.startswith('#'):
search_str = search_str.lower()
print('search_str: ' + search_str)
if search_for_emoji:
search_str = ':' + search_str + ':'