1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 23:12:55 +00:00

Small html improvements

This commit is contained in:
M66B 2019-03-18 18:23:43 +00:00
parent cc956d561b
commit 827c8d7808

View file

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