some polish

This commit is contained in:
Blue 2022-04-26 23:08:25 +03:00
parent e58213b294
commit 2fcc432aef
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
2 changed files with 3 additions and 2 deletions

View file

@ -40,5 +40,5 @@ QString Shared::processMessageBody(const QString& msg)
{
QString processed = msg.toHtmlEscaped();
processed.replace(urlReg, "<a href=\"\\1\">\\1</a>");
return "<p style=\"white-space: pre-wrap;\">" + processed + "</p>";
return processed;
}