1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-03 05:34:51 +00:00

Fixed from HTML

This commit is contained in:
M66B 2024-11-09 18:10:31 +01:00
parent 00172380aa
commit 6baf1199c4

View file

@ -4199,7 +4199,8 @@ public class HtmlHelper {
} }
static Spanned fromHtml(@NonNull String html, Context context) { static Spanned fromHtml(@NonNull String html, Context context) {
Document document = JsoupEx.parse(html); Document parsed = JsoupEx.parse(html);
Document document = sanitizeView(context, parsed, false);
return fromDocument(context, document, null, null); return fromDocument(context, document, null, null);
} }