1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 23:12:55 +00:00

Refactoring

This commit is contained in:
M66B 2022-01-09 10:53:22 +01:00
parent c37cd879f8
commit c1f97ca0f8

View file

@ -354,7 +354,9 @@ public class EntityRule {
if (html == null)
throw new IllegalArgumentException(context.getString(R.string.title_rule_no_body));
String text = HtmlHelper.getFullText(html);
Document d = JsoupEx.parse(html);
//d.select("blockquote").remove();
String text = d.body().text();
if (!matches(context, message, value, text, regex))
return false;
}