Suppress white space

This commit is contained in:
M66B 2019-06-28 16:30:27 +02:00
parent 2e429e4f8e
commit 7d93011f3a
1 changed files with 1 additions and 1 deletions

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(" ");