From 84dea5e12cda03335b868f4930dc9d33e83a60d8 Mon Sep 17 00:00:00 2001 From: Dubslow Date: Sat, 13 Dec 2014 12:18:11 -0600 Subject: [PATCH] Revert "fix #902" @apprb #932 This reverts commit 13306031e238258a3faf2909a01987cf093765dc. --- 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 00f872106..a2aa3e140 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 = {{"&","&"}, {">",">"}, {"<","<"}, {" ", " "}}; // {"&","&"} should be always first + static QList> replaceList = {{"&","&"}, {">",">"}, {"<","<"}}; QString res = str; for (auto &it : replaceList)