mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Disallow inline for last element
This commit is contained in:
parent
32ece5079f
commit
3311744f5d
1 changed files with 4 additions and 2 deletions
|
@ -387,8 +387,10 @@ public class HtmlHelper {
|
|||
Log.i("Removing hidden element " + element.tagName());
|
||||
element.empty();
|
||||
}
|
||||
if ("inline".equals(value) || "inline-block".equals(value))
|
||||
element.attr("inline", "true");
|
||||
if ("inline".equals(value) || "inline-block".equals(value)) {
|
||||
if (element.nextSibling() != null)
|
||||
element.attr("inline", "true");
|
||||
}
|
||||
break;
|
||||
|
||||
case "height":
|
||||
|
|
Loading…
Reference in a new issue