From d813fc2a25f1a79d6dc9c7e2fab96f70c7d65adf Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 14 Apr 2026 17:57:04 -0300 Subject: [PATCH] fix: final lint resolution for HTML detection --- ui/suite/chat/chat.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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("