mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 06:08:31 +02:00
Refactoring
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user