diff --git a/src/chatlog/chatmessage.cpp b/src/chatlog/chatmessage.cpp index 9c1618b00..c7d75e018 100644 --- a/src/chatlog/chatmessage.cpp +++ b/src/chatlog/chatmessage.cpp @@ -211,7 +211,7 @@ QString ChatMessage::detectQuotes(const QString& str, MessageType type) // don't quote first line in action message. This makes co-existence of // quotes and action messages possible, since only first line can cause // problems in case where there is quote in it used. - if (QRegExp("^(>|>)( |[[]|>|[^_\\d\\W]).*").exactMatch(messageLines[i])) { + if (QRegExp("^(>|>).*").exactMatch(messageLines[i])) { if (i > 0 || type != ACTION) quotedText += "" + messageLines[i] + ""; else