diff --git a/ui/suite/chat/chat.html b/ui/suite/chat/chat.html
index cbd8f59..8aafb39 100644
--- a/ui/suite/chat/chat.html
+++ b/ui/suite/chat/chat.html
@@ -302,7 +302,8 @@ function addMessage(sender, content, msgId) {
"";
} else {
// Check if content has HTML (any tag, including comments)
- var hasHtmlTags = (content.indexOf("<") !== -1 && /<[a-zA-Z]/.test(content)) || content.indexOf("