Browse Source

Fix greentext

Thanks to dewbasaur for reporting the bug
pull/292/head
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
b6ccbfc62f
  1. 4
      ui/chatArea/innerStyle.css
  2. 4
      widget/tool/chataction.cpp

4
ui/chatArea/innerStyle.css

@ -22,8 +22,8 @@ div.date { @@ -22,8 +22,8 @@ div.date {
white-space: nowrap;
}
div.quote {
background-color: #6bc260;
span.quote {
color: #6bc260;
}
div.green {

4
widget/tool/chataction.cpp

@ -102,9 +102,9 @@ QString MessageAction::getMessage() @@ -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…
Cancel
Save