Fix newlines in plain text messages again

remotes/origin/0.7.0-dev
Nicolas Werner 5 years ago
parent 792c39d304
commit 760d4ddef9
  1. 2
      src/timeline/TimelineModel.cpp

@ -294,7 +294,7 @@ TimelineModel::data(const QString &id, int role) const
if (body_.startsWith('\n'))
body_ = body_.right(body_.size() - 1);
}
formattedBody_ = body_.toHtmlEscaped();
formattedBody_ = body_.toHtmlEscaped().replace('\n', "<br>");
} else {
if (isReply)
formattedBody_ = formattedBody_.remove(replyFallback);

Loading…
Cancel
Save