1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-08 15:36:12 +00:00

Improved linked data formatting

This commit is contained in:
M66B 2023-11-27 20:03:30 +01:00
parent 16c43d2c49
commit 1c4589533a

View file

@ -45,11 +45,15 @@ public class StructuredEmail {
getHtml(jroot, 0, sb);
Document d = Document.createShell("");
d.appendElement("hr")
.appendElement("pre")
d.appendElement("hr");
d.appendElement("div")
.attr("style", "font-size: larger !important;")
.text("Linked Data");
d.appendElement("br");
d.appendElement("div")
.attr("style", "font-size: smaller !important;")
.text(sb.toString())
.appendElement("hr");
.html(HtmlHelper.formatPlainText(sb.toString()));
d.appendElement("hr");
return d.html();
}