mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Truncate viewed text only
This commit is contained in:
@@ -177,7 +177,8 @@ public class ActivityEML extends ActivityBase {
|
||||
|
||||
String html = result.parts.getHtml(context);
|
||||
if (html != null) {
|
||||
Document document = HtmlHelper.sanitize(context, html, false, true);
|
||||
Document parsed = JsoupEx.parse(html);
|
||||
Document document = HtmlHelper.sanitizeView(context, parsed, false);
|
||||
result.body = HtmlHelper.fromHtml(document.html());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user