Auto link before search highlighting

This commit is contained in:
M66B
2021-11-27 15:28:38 +01:00
parent 180d270239
commit c64b7e78b7
4 changed files with 3 additions and 5 deletions

View File

@@ -270,6 +270,7 @@ public class ActivityEML extends ActivityBase {
String html = result.parts.getHtml(context);
if (html != null) {
Document parsed = JsoupEx.parse(html);
HtmlHelper.autoLink(parsed);
Document document = HtmlHelper.sanitizeView(context, parsed, false);
result.body = HtmlHelper.fromDocument(context, document, null, null);
}