mirror of
https://github.com/M66B/FairEmail.git
synced 2026-05-15 11:58:38 +02:00
Debug: preview hidden/quotes
This commit is contained in:
@@ -1198,7 +1198,7 @@ public class EntityRule {
|
||||
|
||||
File file = reply.getFile(context);
|
||||
Helper.writeText(file, body);
|
||||
String text = HtmlHelper.getFullText(body, true);
|
||||
String text = HtmlHelper.getFullText(context, body);
|
||||
reply.preview = HtmlHelper.getPreview(text);
|
||||
reply.language = HtmlHelper.getLanguage(context, reply.subject, text);
|
||||
db.message().setMessageContent(reply.id,
|
||||
@@ -1314,7 +1314,7 @@ public class EntityRule {
|
||||
.append(' ').append(message.subject).append(". ");
|
||||
|
||||
String body = Helper.readText(message.getFile(context));
|
||||
String text = HtmlHelper.getFullText(body, false);
|
||||
String text = HtmlHelper.getFullText(context, body);
|
||||
String preview = HtmlHelper.getPreview(text);
|
||||
|
||||
if (!TextUtils.isEmpty(preview))
|
||||
|
||||
Reference in New Issue
Block a user