Show original html in eml viewer

pull/153/head
M66B 7 years ago
parent dbc81fa4d1
commit 5260f1a971

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

Loading…
Cancel
Save