mirror of https://gitlab.com/bashrc2/epicyon
When searching for hashtags, don't force lower case
parent
4f9bfec9ed
commit
be4638706c
|
@ -3853,7 +3853,10 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
search_str = search_str.split('&')[0]
|
search_str = search_str.split('&')[0]
|
||||||
search_str = \
|
search_str = \
|
||||||
urllib.parse.unquote_plus(search_str.strip())
|
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)
|
print('search_str: ' + search_str)
|
||||||
if search_for_emoji:
|
if search_for_emoji:
|
||||||
search_str = ':' + search_str + ':'
|
search_str = ':' + search_str + ':'
|
||||||
|
|
Loading…
Reference in New Issue