From 2cfffd0693d9e4326719f1797d6c8b1c97de8ccd Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Fri, 17 Aug 2018 22:17:07 -0500 Subject: [PATCH] irc: another layer of unescaping --- viera/irc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/viera/irc.py b/viera/irc.py index 63f0668..16f951c 100644 --- a/viera/irc.py +++ b/viera/irc.py @@ -248,6 +248,7 @@ class IRCProtocol(asyncio.Protocol): def relay_message(self, actor, obj, content): fmt = "\x02{name}\x02: {content} [{url}]" + content = html.unescape(content) content = html.unescape(content) msgcontent = content[0:256] if len(content) > 256: