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

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

Loading…
Cancel
Save