mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Check for empty rows
This commit is contained in:
@@ -230,9 +230,11 @@ public class HtmlHelper {
|
||||
|
||||
for (Element row : document.select("tr")) {
|
||||
row.tagName("span");
|
||||
Element next = row.nextElementSibling();
|
||||
if (next != null && "tr".equals(next.tagName()))
|
||||
row.appendElement("br");
|
||||
if (hasContent(row.childNodes())) {
|
||||
Element next = row.nextElementSibling();
|
||||
if (next != null && "tr".equals(next.tagName()))
|
||||
row.appendElement("br");
|
||||
}
|
||||
}
|
||||
|
||||
document.select("caption").tagName("div");
|
||||
|
||||
Reference in New Issue
Block a user