Autolink: workaround for links ending with $

This commit is contained in:
M66B 2023-05-10 10:02:19 +02:00
parent 0c567ad484
commit d241aa2ded
1 changed files with 4 additions and 0 deletions

View File

@ -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() +