Fixed applying classes to elements

pull/212/head
M66B 2 years ago
parent c7ce39cb54
commit 030f6dc5b1

@ -1870,7 +1870,7 @@ public class HtmlHelper {
}
for (String key : baseParams.keySet())
if (!STYLE_NO_INHERIT.contains(key))
if (!STYLE_NO_INHERIT.contains(key) || element)
result.put(key, baseParams.get(key));
return TextUtils.join(";", result.values());

Loading…
Cancel
Save