diff options
Diffstat (limited to 'courtroom.cpp')
| -rw-r--r-- | courtroom.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/courtroom.cpp b/courtroom.cpp index 2ac4f4f6..71972a92 100644 --- a/courtroom.cpp +++ b/courtroom.cpp @@ -1192,13 +1192,10 @@ void Courtroom::chat_tick() else { QString f_character = f_message.at(tick_pos); + f_character = f_character.toHtmlEscaped(); if (f_character == " ") ui_vp_message->insertPlainText(" "); - else if (f_character == "<") - ui_vp_message->insertHtml("<"); - else if (f_character == ">") - ui_vp_message->insertHtml(">"); else if (m_chatmessage[TEXT_COLOR].toInt() == RAINBOW) { QString html_color; |
