From 926c4b476ba1830c415ac88c60709dc25b03014f Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 8 Nov 2020 18:14:42 +0100 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 22bde168a6..2d335b3b4f 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -539,7 +539,7 @@ public class HtmlHelper { for (Element element : document.select("*")) { // Class style String tag = element.tagName(); - String clazz = element.attr("class"); + String clazz = element.className(); String style = processStyles(tag, clazz, null, sheets); // Element style