Refactoring

This commit is contained in:
M66B
2020-02-11 20:07:00 +01:00
parent c6f0ae6dad
commit 45556c626b
4 changed files with 16 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
if (file.exists()) {
String html = Helper.readText(file);
if (html.toLowerCase(Locale.ROOT).contains(find)) {
String text = HtmlHelper.getPreviewText(html);
String text = HtmlHelper.getFullText(html);
if (text.toLowerCase(Locale.ROOT).contains(find))
match.matched = true;
}