mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 11:55:20 +01:00
Use invisible text for preview text
Like Gmail, Outlook and Apple do
This commit is contained in:
@@ -722,7 +722,7 @@ public class ServiceSend extends ServiceBase implements SharedPreferences.OnShar
|
||||
if (plain != null && (plain & 1) != 0)
|
||||
body = body.replace("<div x-plain=\"true\">", "<div>");
|
||||
|
||||
String text = HtmlHelper.getFullText(body);
|
||||
String text = HtmlHelper.getFullText(body, true);
|
||||
String language = HtmlHelper.getLanguage(this, message.subject, text);
|
||||
String preview = HtmlHelper.getPreview(text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user