mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
Fix greentext
Thanks to dewbasaur for reporting the bug
This commit is contained in:
parent
e9fa8de43d
commit
b6ccbfc62f
|
@ -22,8 +22,8 @@ div.date {
|
|||
white-space: nowrap;
|
||||
}
|
||||
|
||||
div.quote {
|
||||
background-color: #6bc260;
|
||||
span.quote {
|
||||
color: #6bc260;
|
||||
}
|
||||
|
||||
div.green {
|
||||
|
|
|
@ -102,9 +102,9 @@ QString MessageAction::getMessage()
|
|||
for (QString& s : messageLines)
|
||||
{
|
||||
if (QRegExp("^[ ]*>.*").exactMatch(s))
|
||||
message_ += "<div class=quote>" + s.right(s.length()-4) + "</div><br>";
|
||||
message_ += "<span class=quote>>" + s.right(s.length()-4) + "</span><br/>";
|
||||
else
|
||||
message_ += s + "<br>";
|
||||
message_ += s + "<br/>";
|
||||
}
|
||||
message_ = message_.left(message_.length()-4);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user