|
|
@ -3263,8 +3263,14 @@ public class HtmlHelper {
|
|
|
|
switch (tag) {
|
|
|
|
switch (tag) {
|
|
|
|
case "a":
|
|
|
|
case "a":
|
|
|
|
String href = element.attr("href");
|
|
|
|
String href = element.attr("href");
|
|
|
|
if (!TextUtils.isEmpty(href))
|
|
|
|
if (!TextUtils.isEmpty(href)) {
|
|
|
|
|
|
|
|
if (BuildConfig.DEBUG) {
|
|
|
|
|
|
|
|
Uri uri = UriHelper.guessScheme(Uri.parse(href));
|
|
|
|
|
|
|
|
if (UriHelper.isHyperLink(uri))
|
|
|
|
|
|
|
|
ssb.append("\uD83D\uDD17"); // 🔗
|
|
|
|
|
|
|
|
}
|
|
|
|
setSpan(ssb, new URLSpan(href), start, ssb.length());
|
|
|
|
setSpan(ssb, new URLSpan(href), start, ssb.length());
|
|
|
|
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case "big":
|
|
|
|
case "big":
|
|
|
|
setSpan(ssb, new RelativeSizeSpan(FONT_LARGE), start, ssb.length());
|
|
|
|
setSpan(ssb, new RelativeSizeSpan(FONT_LARGE), start, ssb.length());
|
|
|
|