Commit a19c2e4a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use MarkdownNoHTML by default now we can show

parent 42a2f394
......@@ -57,7 +57,7 @@ public:
c.insert(QStringLiteral("showOnlyOneMimePart"), context->showOnlyOneMimePart());
c.insert(QStringLiteral("content"), QVariant::fromValue<MessageViewer::GrantleeCallback>([=](Grantlee::OutputStream *) {
QTextDocument textDocument;
textDocument.setMarkdown(msgPart->text(), QTextDocument::MarkdownNoHTML);
const QString result = textDocument.toHtml();
(*htmlWriter->stream()) << result;
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