Skip encoding transparent color

This commit is contained in:
M66B 2022-07-13 19:00:45 +02:00
parent 64733c1448
commit 38c98d6d79
1 changed files with 1 additions and 1 deletions

View File

@ -768,7 +768,7 @@ public class HtmlHelper {
}
}
if (color == null) {
if (color == null || color == Color.TRANSPARENT) {
element.removeAttr(key);
continue;
}