new color format logic

This commit is contained in:
DrPerkyLegit committed 2026-06-26 17:47:16 -04:00
1 parent 894dbcbde5
commit 78ce22796e
4 files changed
+97 -67

No files matched your search

+1 -1
View File
@@ -1637,7 +1637,7 @@ void ClientConnection::handleChat(shared_ptr<ChatPacket> packet)
message = packet->m_stringArgs[0];
message = app.EscapeHTMLString(message); //do this to enforce escaped string
message = app.FormatChatMessage(message); //this needs to be last cause it converts colors to html colors that would have been escaped
message = app.FormatColoredString(message); //this needs to be last cause it converts colors to html colors that would have been escaped
} else {
message = L"";
}