mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-18 21:28:54 +00:00
Small fix
This commit is contained in:
parent
0481ba0cfc
commit
8208709840
1 changed files with 3 additions and 3 deletions
|
@ -331,8 +331,8 @@ public class HtmlHelper {
|
|||
if (kv.length == 2) {
|
||||
String key = kv[0].trim().toLowerCase(Locale.ROOT);
|
||||
String value = kv[1].toLowerCase(Locale.ROOT)
|
||||
.trim()
|
||||
.replace("!important", "")
|
||||
.trim()
|
||||
.replaceAll("\\s+", " ");
|
||||
switch (key) {
|
||||
case "color":
|
||||
|
@ -355,7 +355,7 @@ public class HtmlHelper {
|
|||
|
||||
case "display":
|
||||
if (!display_hidden && "none".equals(value)) {
|
||||
Log.i("Removing element " + element.tagName());
|
||||
Log.i("Removing hidden element " + element.tagName());
|
||||
element.empty();
|
||||
}
|
||||
if ("inline".equals(value) || "inline-block".equals(value))
|
||||
|
@ -368,7 +368,7 @@ public class HtmlHelper {
|
|||
//case "line-height":
|
||||
if (!display_hidden &&
|
||||
("0".equals(value) || "0px".equals(value))) {
|
||||
Log.i("Removing element " + element.tagName());
|
||||
Log.i("Removing hidden element " + element.tagName());
|
||||
element.empty();
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue