From 22263c70fc21cb462fb256b7478a85465d292b65 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 28 May 2018 15:16:20 +0200 Subject: The text view doesn't render blockquotes in a very useful way (no sidebar or anything) ...so we fall back to a browser... --- framework/src/domain/mime/partmodel.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/src/domain/mime/partmodel.cpp b/framework/src/domain/mime/partmodel.cpp index 79e83480..6a0b4de2 100644 --- a/framework/src/domain/mime/partmodel.cpp +++ b/framework/src/domain/mime/partmodel.cpp @@ -216,6 +216,10 @@ QVariant PartModel::data(const QModelIndex &index, int role) const return true; } } + //Blockquotes don't support any styling which would be necessary so they become readable. + if (text.contains("blockquote")) { + return true; + } //Media queries are too advanced if (text.contains("@media")) { return true; -- cgit v1.2.3