From 13306031e238258a3faf2909a01987cf093765dc Mon Sep 17 00:00:00 2001 From: apprb Date: Thu, 11 Dec 2014 21:33:38 +0600 Subject: [PATCH] fix #902 --- src/widget/tool/chatactions/chataction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/tool/chatactions/chataction.cpp b/src/widget/tool/chatactions/chataction.cpp index a2aa3e140..00f872106 100644 --- a/src/widget/tool/chatactions/chataction.cpp +++ b/src/widget/tool/chatactions/chataction.cpp @@ -25,7 +25,7 @@ QTextBlockFormat ChatAction::nameFormat, ChatAction::dateFormat; QString ChatAction::toHtmlChars(const QString &str) { - static QList> replaceList = {{"&","&"}, {">",">"}, {"<","<"}}; + static QList> replaceList = {{"&","&"}, {">",">"}, {"<","<"}, {" ", " "}}; // {"&","&"} should be always first QString res = str; for (auto &it : replaceList)