mirror of https://github.com/M66B/FairEmail.git
Insert templates as-is
This commit is contained in:
parent
37a6447bbb
commit
b2df1d16a6
|
@ -3269,9 +3269,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
if (a != null) {
|
if (a != null) {
|
||||||
data.draft.subject = a.name;
|
data.draft.subject = a.name;
|
||||||
Document d = JsoupEx.parse(a.getText(null));
|
Document d = JsoupEx.parse(a.getText(null));
|
||||||
Element e = d.body();
|
document.body().append(d.body().html());
|
||||||
e.tagName("div");
|
|
||||||
document.body().appendChild(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3435,9 +3433,7 @@ public class FragmentCompose extends FragmentBase {
|
||||||
EntityAnswer a = db.answer().getAnswer(answer);
|
EntityAnswer a = db.answer().getAnswer(answer);
|
||||||
if (a != null) {
|
if (a != null) {
|
||||||
Document d = JsoupEx.parse(a.getText(data.draft.to));
|
Document d = JsoupEx.parse(a.getText(data.draft.to));
|
||||||
Element e = d.body();
|
document.body().append(d.body().html());
|
||||||
e.tagName("div");
|
|
||||||
document.body().appendChild(e);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue