mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 17:13:23 +02:00
Small improvement
This commit is contained in:
@@ -544,7 +544,9 @@ public class HtmlHelper {
|
||||
continue;
|
||||
|
||||
Integer color = parseColor(value, dark);
|
||||
if (color != null) {
|
||||
if (color == null)
|
||||
element.removeAttr("color");
|
||||
else {
|
||||
// fromHtml does not support transparency
|
||||
String c = String.format("#%06x", color);
|
||||
sb.append("color:").append(c).append(";");
|
||||
|
||||
Reference in New Issue
Block a user