Commit 3cfee356 authored by Laurent Montel's avatar Laurent Montel 😁

Fix Bug 369555 - Emotions not shown in HTML message, only in subject field.

FIXED-IN: 5.3.2

BUG: 369555
parent 67066ddb
......@@ -665,12 +665,12 @@ public:
return htmlWriter->html;
}
QString quotedHTML(const QString &s, bool decorate)
QString quotedHTML(const QString &s)
{
assert(cssHelper());
KTextToHTML::Options convertFlags = KTextToHTML::PreserveSpaces | KTextToHTML::HighlightText;
if (decorate && source()->showEmoticons()) {
if (source()->showEmoticons()) {
convertFlags |= KTextToHTML::ReplaceSmileys;
}
QString htmlStr;
......@@ -872,7 +872,7 @@ public:
aBlock = HTMLBlock::Ptr(new AttachmentMarkBlock(htmlWriter.data(), mp->attachmentNode()));
}
htmlWriter->queue(quotedHTML(mp->text(), false));
htmlWriter->queue(quotedHTML(mp->text()));
}
return htmlWriter->html;
}
......
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