mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-12 12:03:17 +02:00
Check for visible images and links with content
This commit is contained in:
@@ -1312,8 +1312,8 @@ public class HtmlHelper {
|
||||
Element element = (Element) node;
|
||||
if (!element.isBlock() &&
|
||||
(element.hasText() ||
|
||||
element.selectFirst("a") != null ||
|
||||
element.selectFirst("img") != null))
|
||||
element.selectFirst("a[href~=.+]") != null ||
|
||||
element.selectFirst("img[src~=.+]") != null))
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user