summaryrefslogtreecommitdiffstats
path: root/framework/src
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src')
-rw-r--r--framework/src/domain/mime/partmodel.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp
index 0b95ecbd..01b640b6 100644
--- a/framework/src/domain/mime/partmodel.cpp
+++ b/framework/src/domain/mime/partmodel.cpp
@@ -201,16 +201,10 @@ QVariant PartModel::data(const QModelIndex &index, int role) const
201 auto complexHtml = [&] { 201 auto complexHtml = [&] {
202 if (messagePart->isHtml()) { 202 if (messagePart->isHtml()) {
203 const auto text = messagePart->htmlContent(); 203 const auto text = messagePart->htmlContent();
204 if (text.contains("<!DOCTYPE html PUBLIC")) {
205 return true;
206 }
207 //Media queries are too advanced 204 //Media queries are too advanced
208 if (text.contains("@media")) { 205 if (text.contains("@media")) {
209 return true; 206 return true;
210 } 207 }
211 if (text.contains("<style")) {
212 return true;
213 }
214 return false; 208 return false;
215 } else { 209 } else {
216 return false; 210 return false;