A link is visible content

pull/174/head
M66B 5 years ago
parent e0e54e654d
commit cf098673b4

@ -743,7 +743,9 @@ public class HtmlHelper {
else if (node instanceof Element) {
Element element = (Element) node;
if (!element.isBlock() &&
(element.hasText() || element.selectFirst("img") != null))
(element.hasText() ||
element.selectFirst("a") != null ||
element.selectFirst("img") != null))
return true;
}
return false;

Loading…
Cancel
Save