From b12f82dc8cd1137586781e8142556a6c495a0c11 Mon Sep 17 00:00:00 2001 From: Crystalwarrior Date: Sun, 5 Jul 2020 03:07:09 +0300 Subject: [PATCH] Fix html not being parsed in ic logs when ic logs go downwards (#178) I found this bug like 3 weeks ago but I forgot to actually make a PR for it oops --- src/courtroom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/courtroom.cpp b/src/courtroom.cpp index 55b851e..9920b3b 100644 --- a/src/courtroom.cpp +++ b/src/courtroom.cpp @@ -2538,7 +2538,7 @@ void Courtroom::append_ic_text(QString p_text, QString p_name, QString p_action) } else { ui_ic_chatlog->textCursor().insertText(": ", normal); - ui_ic_chatlog->textCursor().insertText(p_text + '\n', normal); + ui_ic_chatlog->textCursor().insertHtml(p_text + '\n'); } // If we got too many blocks in the current log, delete some from the