Use a zero-width joiner in Utils.prevent_highlight instead of zero width space
This commit is contained in:
parent
3bb54a4808
commit
da74357807
1 changed files with 1 additions and 1 deletions
2
Utils.py
2
Utils.py
|
@ -218,4 +218,4 @@ def get_closest_setting(event, setting, default=None):
|
||||||
return closest.get_setting(setting, server.get_setting(setting, default))
|
return closest.get_setting(setting, server.get_setting(setting, default))
|
||||||
|
|
||||||
def prevent_highlight(nickname):
|
def prevent_highlight(nickname):
|
||||||
return nickname[0]+"\u200b"+nickname[1:]
|
return nickname[0]+"\u200d"+nickname[1:]
|
||||||
|
|
Loading…
Reference in a new issue