Check text for image links

This commit is contained in:
M66B 2021-08-04 16:06:54 +02:00
parent f434a27c3e
commit 566431884b
1 changed files with 2 additions and 0 deletions

View File

@ -1146,6 +1146,8 @@ public class HtmlHelper {
String href = p.attr("href");
if (TextUtils.isEmpty(href) || href.equals("#"))
break;
if (!TextUtils.isEmpty(p.text()))
break;
linked = true;
} else
p = p.parent();