1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-19 05:38:31 +00:00

Check text for image links

This commit is contained in:
M66B 2021-08-04 16:06:54 +02:00
parent f434a27c3e
commit 566431884b

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();