Small html improvements

pull/153/head
M66B 7 years ago
parent cc956d561b
commit 827c8d7808

@ -120,8 +120,8 @@ public class HtmlHelper {
// Tables // Tables
for (Element col : document.select("th,td")) { for (Element col : document.select("th,td")) {
// prevent line breaks // prevent line breaks
col.select("br").tagName("span").html(" "); //col.select("br").tagName("span").html(" ");
col.select("div").tagName("span"); //col.select("div").tagName("span");
// separate columns by a space // separate columns by a space
if (col.nextElementSibling() != null) if (col.nextElementSibling() != null)
@ -167,7 +167,7 @@ public class HtmlHelper {
// Lines // Lines
for (Element hr : document.select("hr")) { for (Element hr : document.select("hr")) {
hr.tagName("div"); hr.tagName("div");
hr.text("--------------------"); hr.text("----------------------------------------");
} }
// Descriptions // Descriptions

Loading…
Cancel
Save