mirror of https://github.com/M66B/FairEmail.git
Check for visible images and links with content
This commit is contained in:
parent
5da1b188f3
commit
68b264646f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue