From 9bbb8e460346410866c76754317032bcc51780fe Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 8 Jun 2017 20:42:31 +0200 Subject: Fix html detection --- framework/src/domain/mime/partmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/src/domain') diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index 6ee3d46f..d03ae103 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp @@ -141,7 +141,7 @@ QVariant PartModel::data(const QModelIndex &index, int role) const //For simple html we don't need a browser auto complexHtml = [&] { if (messagePart->isHtml()) { - const auto text = messagePart->text(); + const auto text = messagePart->htmlContent(); if (text.contains("