mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 08:14:45 +00:00
Autolink: workaround for links ending with $
This commit is contained in:
parent
0c567ad484
commit
d241aa2ded
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue