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:
parent
16c43d2c49
commit
1c4589533a
1 changed files with 8 additions and 4 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue