|
|
@ -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();
|
|
|
|