Fixed empty link anchors

pull/178/head
M66B 5 years ago
parent 8e7015e14d
commit c652c5690c

@ -1934,6 +1934,7 @@ public class HtmlHelper {
switch (element.tagName()) {
case "a":
String href = element.attr("href");
if (!TextUtils.isEmpty(href))
ssb.setSpan(new URLSpan(href), start, ssb.length(), Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
break;
case "body":

Loading…
Cancel
Save