Commit 6cc49743 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix Bug 419978 - KMail missing line break in blockquote when showing as HTML mail

FIXED-IN: 5.18.3
BUG: 419978
parent 304fd3f6
Pipeline #88303 passed with stage
in 29 minutes and 6 seconds
......@@ -1472,7 +1472,8 @@ QString TemplateParserJob::quotedHtmlText(const QString &selection) const
// then the <blockquote> tags below should open and close as when required.
// Add blockquote tag, so that quoted message can be differentiated from normal message
content = QLatin1String("<blockquote>") + content + QLatin1String("</blockquote>");
// Bug 419978 remove \n by <br>
content = QLatin1String("<blockquote>") + content.replace(QStringLiteral("\n"), QStringLiteral("<br>")) + QLatin1String("</blockquote>");
return content;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment