Use a zero-width joiner in Utils.prevent_highlight instead of zero width space

This commit is contained in:
jesopo 2018-08-20 11:03:01 +01:00
parent 3bb54a4808
commit da74357807

View file

@ -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:]