Fix newlines in plain text messages again
This commit is contained in:
parent
792c39d304
commit
760d4ddef9
@ -294,7 +294,7 @@ TimelineModel::data(const QString &id, int role) const
|
|||||||
if (body_.startsWith('\n'))
|
if (body_.startsWith('\n'))
|
||||||
body_ = body_.right(body_.size() - 1);
|
body_ = body_.right(body_.size() - 1);
|
||||||
}
|
}
|
||||||
formattedBody_ = body_.toHtmlEscaped();
|
formattedBody_ = body_.toHtmlEscaped().replace('\n', "<br>");
|
||||||
} else {
|
} else {
|
||||||
if (isReply)
|
if (isReply)
|
||||||
formattedBody_ = formattedBody_.remove(replyFallback);
|
formattedBody_ = formattedBody_.remove(replyFallback);
|
||||||
|
Loading…
Reference in New Issue
Block a user