1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-28 02:37:16 +00:00

Refactoring

This commit is contained in:
M66B 2020-04-22 16:54:50 +02:00
parent 9393944ea2
commit 6e7f91dfd7

View file

@ -973,8 +973,8 @@ public class HtmlHelper {
switch (selector.getSelectorType()) {
case Selector.SAC_ELEMENT_NODE_SELECTOR:
ElementSelectorImpl eselector = (ElementSelectorImpl) selector;
if (tag == null ?
eselector.getLocalName() == null
if (tag == null
? eselector.getLocalName() == null
: tag.equals(eselector.getLocalName()))
style = mergeStyles(style, srule.getStyle().getCssText());
break;