mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Sanitize EML html
This commit is contained in:
@@ -93,7 +93,8 @@ public class ActivityEml extends ActivityBase {
|
||||
}
|
||||
result.parts = Html.fromHtml(sb.toString());
|
||||
|
||||
result.body = Html.fromHtml(parts.getHtml(context));
|
||||
String html = HtmlHelper.sanitize(parts.getHtml(context), true);
|
||||
result.body = Html.fromHtml(html);
|
||||
|
||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||
mmessage.writeTo(bos);
|
||||
|
||||
Reference in New Issue
Block a user