pull/156/head
M66B 6 years ago
parent 1dd91b878d
commit 11937d07b6

@ -127,7 +127,8 @@ public class ActivityEml extends ActivityBase {
result.parts = HtmlHelper.fromHtml(sb.toString());
result.html = parts.getHtml(context);
result.body = HtmlHelper.fromHtml(HtmlHelper.sanitize(context, result.html));
if (result.html != null)
result.body = HtmlHelper.fromHtml(HtmlHelper.sanitize(context, result.html));
ByteArrayOutputStream bos = new ByteArrayOutputStream();
mmessage.writeTo(bos);

Loading…
Cancel
Save