mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 05:15:13 +02:00
Autolink: workaround for links ending with $
This commit is contained in:
@@ -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() +
|
||||
|
||||
Reference in New Issue
Block a user