mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Improved linked data formatting
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user