Refactoring

pull/178/head
M66B 5 years ago
parent ecb7e4a174
commit f0815b2f41

@ -3504,13 +3504,13 @@ public class FragmentCompose extends FragmentBase {
Document document = HtmlHelper.sanitizeCompose(context, doc.html(), true); Document document = HtmlHelper.sanitizeCompose(context, doc.html(), true);
for (Element e : ref)
document.body().appendChild(e);
EntityIdentity identity = null; EntityIdentity identity = null;
if (data.draft.identity != null) if (data.draft.identity != null)
identity = db.identity().getIdentity(data.draft.identity); identity = db.identity().getIdentity(data.draft.identity);
for (Element e : ref)
document.body().appendChild(e);
addSignature(context, document, data.draft, identity); addSignature(context, document, data.draft, identity);
String html = document.html(); String html = document.html();

Loading…
Cancel
Save