Browse Source

Merge branch 'pr1732'

pull/1742/head
tux3 10 years ago
parent
commit
b22945b46a
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 2
      src/chatlog/chatmessage.cpp

2
src/chatlog/chatmessage.cpp

@ -211,7 +211,7 @@ QString ChatMessage::detectQuotes(const QString& str, MessageType type) @@ -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 += "<span class=quote>" + messageLines[i] + "</span>";
else

Loading…
Cancel
Save