https://bugs.kde.org/show_bug.cgi?id=360205

--- Comment #13 from Thomas Lübking <thomas.luebk...@gmail.com> ---
The message works here (it's pre-wrapped) and lead me to a solution that should
work for you:

diff --git a/src/Gui/EnvelopeView.cpp b/src/Gui/EnvelopeView.cpp
index 1850456..14c049a 100644
--- a/src/Gui/EnvelopeView.cpp
+++ b/src/Gui/EnvelopeView.cpp
@@ -87,7 +87,7 @@ void EnvelopeView::setMessage(const QModelIndex &index)
     if (e.date.isValid()) {
         subDate = QStringLiteral("<table style=\"margin:0px; margin-left:4em;
float:right;\"><tr style=\"margin:0px;\"><td
style=\"margin:0px;\">%1</td></tr></table>").arg(e.date.toLocalTime().toString(Qt::SystemLocaleLongDate));
     }
-    subDate += QStringLiteral("<span style=\"font:bold
large;\">%1</span>").arg(e.subject.toHtmlEscaped());
+    subDate += QStringLiteral("<span style=\"font:bold large;
white-space:pre;\">%1</span>").arg(e.subject.toHtmlEscaped());
     auto lbl = new QLabel(subDate, this);
     SET_LABEL_OPTIONS(lbl)
     layout()->addWidget(lbl);

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to