mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Fixed images in signatures/templates
This commit is contained in:
@@ -290,8 +290,7 @@ public class ActivitySignature extends ActivityBase {
|
||||
else if (etText.isRaw())
|
||||
etText.setText(html);
|
||||
else {
|
||||
Document d = JsoupEx.parse(html);
|
||||
d = HtmlHelper.sanitizeView(this, d, true);
|
||||
Document d = HtmlHelper.sanitizeCompose(this, html, true);
|
||||
Spanned signature = HtmlHelper.fromDocument(this, d, new HtmlHelper.ImageGetterEx() {
|
||||
@Override
|
||||
public Drawable getDrawable(Element element) {
|
||||
|
||||
Reference in New Issue
Block a user