mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 09:03:56 +02:00
Auto link before search highlighting
This commit is contained in:
@@ -2549,6 +2549,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
|
||||
HtmlHelper.cleanup(document);
|
||||
HtmlHelper.removeRelativeLinks(document);
|
||||
HtmlHelper.autoLink(document);
|
||||
|
||||
if (message.ui_found && found && !TextUtils.isEmpty(searched))
|
||||
HtmlHelper.highlightSearched(context, document, searched);
|
||||
@@ -2600,7 +2601,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
.appendElement("em")
|
||||
.text(context.getString(R.string.title_truncated));
|
||||
|
||||
HtmlHelper.autoLink(document);
|
||||
HtmlHelper.guessSchemes(document);
|
||||
|
||||
boolean overview_mode = prefs.getBoolean("overview_mode", false);
|
||||
|
||||
Reference in New Issue
Block a user