Refactoring

pull/194/merge
M66B 3 years ago
parent c37cd879f8
commit c1f97ca0f8

@ -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;
}

Loading…
Cancel
Save