mirror of https://github.com/M66B/FairEmail.git
Small fix
This commit is contained in:
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…
Reference in New Issue