Added remark

This commit is contained in:
M66B 2023-01-19 18:27:00 +01:00
parent 890ace9eed
commit ea26bbb360
1 changed files with 1 additions and 0 deletions

View File

@ -837,6 +837,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
return true;
}
if (criteria.in_message) {
// This won't match <p>An <b>example</b><p> when searching for "An example"
if (contains(html, criteria.query, partial, true)) {
String text = HtmlHelper.getFullText(html);
if (contains(text, criteria.query, partial, false))