Use a zero-width non-joiner to prevent highlights, instead of a zero-width
joiner
This commit is contained in:
parent
bcb67db3fd
commit
63fc39e448
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ 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]+"\u200d"+nickname[1:]
|
return nickname[0]+"\u200c"+nickname[1:]
|
||||||
|
|
||||||
def _set_get_append(obj, setting, item):
|
def _set_get_append(obj, setting, item):
|
||||||
if not hasattr(obj, setting):
|
if not hasattr(obj, setting):
|
||||||
|
|
Loading…
Reference in a new issue