diff --git a/client/js/lounge.js b/client/js/lounge.js index e04c5b87..ab861205 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -1142,7 +1142,7 @@ $(function() { if (msg.type === "message") { title += " says:"; } - body = msg.text.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?/g, "").trim(); + body = msg.text.replace(/\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?|[\x00-\x1F]|\x7F/g, "").trim(); } try {