From 0a28fda7e13dd1bcf49fd43d0d790c2dd5d10e65 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 5 Apr 2018 10:58:49 +0200 Subject: Match auto css properties --- framework/src/domain/mime/partmodel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index 4c53906d..4583e2a6 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp @@ -23,7 +23,6 @@ #include "htmlutils.h" #include -#include #include #include @@ -225,6 +224,10 @@ QVariant PartModel::data(const QModelIndex &index, int role) const if (text.contains("@media")) { return true; } + //auto css properties are not supported e.g margin-left: auto; + if (text.contains(": auto;")) { + return true; + } return false; } else { return false; -- cgit v1.2.3