diff --git a/aqt/editor.py b/aqt/editor.py index 1906fb20c..8fab5b880 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -275,7 +275,7 @@ def _filterHTML(html): k, v = item.split(":") except ValueError: continue - if k.strip() == "color": + if k.strip() == "color" and not v.strip() == "rgb(0, 0, 0)": preserve += "color:%s;" % v if preserve: # preserve colour attribute, delete implicit class