summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCLogBuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/IRCClient/IRCLogBuffer.cpp')
-rw-r--r--Applications/IRCClient/IRCLogBuffer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/Applications/IRCClient/IRCLogBuffer.cpp b/Applications/IRCClient/IRCLogBuffer.cpp
index da5ad1fef0..8904cca8df 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(
- "<div style=\"color: %s\">"
"<span>%s</span>"
- "<span>%s</span>"
- "</div>",
- color.to_string().characters(),
+ "<span>%s</span>",
timestamp_string().characters(),
escape_html_entities(text).characters());
auto wrapper = Web::create_element(*m_document, Web::HTML::TagNames::div);