Fixed images in signatures/templates

This commit is contained in:
M66B
2022-11-23 09:08:12 +01:00
parent 09d954d044
commit c2092a4049
4 changed files with 10 additions and 11 deletions

View File

@@ -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) {