From 981f40328700361e0f1da218cbd64b98463fce2f Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 26 Jun 2020 09:23:17 +0200 Subject: [PATCH] IRCClient: Remove duplicate
wrapper around colored messages --- Applications/IRCClient/IRCLogBuffer.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Applications/IRCClient/IRCLogBuffer.cpp b/Applications/IRCClient/IRCLogBuffer.cpp index da5ad1fef0c..8904cca8df9 100644 --- a/Applications/IRCClient/IRCLogBuffer.cpp +++ b/Applications/IRCClient/IRCLogBuffer.cpp @@ -86,11 +86,8 @@ void IRCLogBuffer::add_message(char prefix, const String& name, const String& te void IRCLogBuffer::add_message(const String& text, Color color) { auto html = String::format( - "
" "%s" - "%s" - "
", - color.to_string().characters(), + "%s", timestamp_string().characters(), escape_html_entities(text).characters()); auto wrapper = Web::create_element(*m_document, Web::HTML::TagNames::div);