mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 21:55:13 +00:00
A link is visible content
This commit is contained in:
parent
e0e54e654d
commit
cf098673b4
1 changed files with 3 additions and 1 deletions
|
@ -743,7 +743,9 @@ public class HtmlHelper {
|
||||||
else if (node instanceof Element) {
|
else if (node instanceof Element) {
|
||||||
Element element = (Element) node;
|
Element element = (Element) node;
|
||||||
if (!element.isBlock() &&
|
if (!element.isBlock() &&
|
||||||
(element.hasText() || element.selectFirst("img") != null))
|
(element.hasText() ||
|
||||||
|
element.selectFirst("a") != null ||
|
||||||
|
element.selectFirst("img") != null))
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue