Show original html in eml viewer

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

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

Loading…
Cancel
Save