mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
b0ba366eea
commit
d362728ac2
|
@ -611,7 +611,7 @@ public class HtmlHelper {
|
|||
}
|
||||
if ("inline".equals(value) || "inline-block".equals(value)) {
|
||||
if (element.nextSibling() != null)
|
||||
element.attr("inline", "true");
|
||||
element.attr("x-inline", "true");
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -937,7 +937,7 @@ public class HtmlHelper {
|
|||
}
|
||||
|
||||
for (Element div : document.select("div")) {
|
||||
boolean inline = Boolean.parseBoolean(div.attr("inline"));
|
||||
boolean inline = Boolean.parseBoolean(div.attr("x-inline"));
|
||||
if (inline)
|
||||
div.tagName("span");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue