From 4d310cd545984d4c7ea767fdc0a8f85396e55f66 Mon Sep 17 00:00:00 2001 From: Austin Anderson Date: Sat, 22 May 2021 10:42:57 -0700 Subject: [PATCH] Render styling for colored host masks On some IRC networks, users have vanity host masks with colors or other text styling. Rizon is one such network. For example, a user connecting from 127.0.0.1 could instead have the host angerson@this.is.my.host.mask. this.is.my.host.mask may have IRC color code characters in it, which without this change would be displayed as a bunch of jumbled garbage in the /whois response or join/part messages. Resolves #4232. --- client/components/MessageTypes/chghost.vue | 7 +++++-- client/components/MessageTypes/join.vue | 4 +++- client/components/MessageTypes/part.vue | 3 ++- client/components/MessageTypes/quit.vue | 3 ++- client/components/MessageTypes/whois.vue | 7 ++++++- client/components/Special/ListBans.vue | 6 +++++- client/components/Special/ListIgnored.vue | 6 +++++- client/components/Special/ListInvites.vue | 8 +++++++- 8 files changed, 35 insertions(+), 9 deletions(-) diff --git a/client/components/MessageTypes/chghost.vue b/client/components/MessageTypes/chghost.vue index ef8e2f83..e54c245d 100644 --- a/client/components/MessageTypes/chghost.vue +++ b/client/components/MessageTypes/chghost.vue @@ -6,17 +6,20 @@ >username to {{ message.new_ident }} hostname to {{ message.new_host }} + >hostname to +