mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Use invisible text for preview text
Like Gmail, Outlook and Apple do
This commit is contained in:
@@ -341,7 +341,7 @@ public class ServiceUI extends IntentService {
|
||||
Object obj = results.get("text");
|
||||
String body = (obj == null ? null : "<p>" + obj.toString().replaceAll("\\r?\\n", "<br>") + "</p>");
|
||||
|
||||
String text = HtmlHelper.getFullText(body);
|
||||
String text = HtmlHelper.getFullText(body, true);
|
||||
String language = HtmlHelper.getLanguage(this, ref.subject, text);
|
||||
String preview = HtmlHelper.getPreview(text);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user