mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix #1154
This commit is contained in:
parent
b17b915dfc
commit
cda1a02829
@ -197,7 +197,7 @@ QString ChatMessage::detectQuotes(const QString& str)
|
||||
QString quotedText;
|
||||
for (int i=0;i<messageLines.size();++i)
|
||||
{
|
||||
if (QRegExp("^>( |[[]|>|[^_\\d\\W]).*").exactMatch(messageLines[i]))
|
||||
if (QRegExp("^(>|>)( |[[]|>|[^_\\d\\W]).*").exactMatch(messageLines[i]))
|
||||
quotedText += "<span class=quote>" + messageLines[i] + "</span>";
|
||||
else
|
||||
quotedText += messageLines[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user