From 030f6dc5b13b3b6755a4549cf7ace14f9a2af3c5 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 23 Feb 2023 20:57:01 +0100 Subject: [PATCH] Fixed applying classes to elements --- 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 7bae1a4ef4..edfaa080ef 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -1870,7 +1870,7 @@ public class HtmlHelper { } for (String key : baseParams.keySet()) - if (!STYLE_NO_INHERIT.contains(key)) + if (!STYLE_NO_INHERIT.contains(key) || element) result.put(key, baseParams.get(key)); return TextUtils.join(";", result.values());