mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Plain text only with alt content
This commit is contained in:
@@ -598,8 +598,8 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
|
||||
MessageHelper.MessageParts parts = helper.getMessageParts();
|
||||
String body = parts.getHtml(this);
|
||||
Boolean plain = parts.isPlainOnly();
|
||||
if (plain != null && plain)
|
||||
Integer plain = parts.isPlainOnly();
|
||||
if (plain != null && (plain & 1) != 0)
|
||||
body = body.replace("<div x-plain=\"true\">", "<div>");
|
||||
|
||||
String text = HtmlHelper.getFullText(body);
|
||||
|
||||
Reference in New Issue
Block a user