Auto link before highlighting search

pull/210/head
M66B 2 years ago
parent 3d7ae5e2e6
commit 2ede17a7d0

@ -3045,14 +3045,14 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
return document.html();
} else {
HtmlHelper.autoLink(document);
if (message.ui_found && found && !TextUtils.isEmpty(searched))
HtmlHelper.highlightSearched(context, document, searched);
// Cleanup message
document = HtmlHelper.sanitizeView(context, document, show_images);
HtmlHelper.autoLink(document);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q)
args.putParcelable("actions", getConversationActions(message, document, context));

Loading…
Cancel
Save