Autolink: workaround for links ending with $

pull/212/head
M66B 1 year ago
parent 0c567ad484
commit d241aa2ded

@ -1563,6 +1563,10 @@ public class HtmlHelper {
end--;
group = group.substring(0, group.length() - 1);
}
if (end < text.length() && text.charAt(end) == '$') {
end++;
group += '$';
}
boolean email = group.contains("@") && !group.contains(":");
Log.i("Web url=" + group + " " + start + "..." + end + "/" + text.length() +

Loading…
Cancel
Save