Show original html in eml viewer

This commit is contained in:
M66B 2019-03-10 10:42:59 +00:00
parent dbc81fa4d1
commit 5260f1a971
1 changed files with 2 additions and 2 deletions

View File

@ -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);