Suppress white space

pull/157/head
M66B 5 years ago
parent 2e429e4f8e
commit 7d93011f3a

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

Loading…
Cancel
Save