mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
2f86382775
commit
667e9f8fd6
|
@ -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(";");
|
||||
|
|
Loading…
Reference in New Issue