From 9da5944fabc3789cd3baf90c42a286d34240866c Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 24 Sep 2019 17:48:10 +0200 Subject: [PATCH] Disallow transparent colors --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 4ac0bb9d18..657d2c1cdf 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -165,6 +165,7 @@ public class HtmlHelper { .toLowerCase(Locale.ROOT) .replace(" ", "") .replace("inherit", "") + .replace("transparent", "") .replace("!important", ""); Integer color = null;