1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Suppress white space

This commit is contained in:
M66B 2019-06-28 16:30:27 +02:00
parent 2e429e4f8e
commit 7d93011f3a

View file

@ -187,7 +187,7 @@ public class HtmlHelper {
for (Element col : document.select("th,td")) {
// separate columns by a space
if (col.nextElementSibling() == null) {
if (col.selectFirst("div") == null)
if (col.selectFirst("div,table,p") == null)
col.appendElement("br");
} else
col.append(" ");