mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Match mailto: too
This commit is contained in:
@@ -892,7 +892,7 @@ public class HtmlHelper {
|
||||
// geo:<lat>,<lon>[,<alt>][;u=<uncertainty>]
|
||||
// tel:<phonenumber>
|
||||
final Pattern pattern = Pattern.compile(
|
||||
PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() + "|" +
|
||||
"(((?i:mailto):)?" + PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() + ")|" +
|
||||
PatternsCompat.AUTOLINK_WEB_URL.pattern()
|
||||
.replace("(?i:http|https|rtsp)://",
|
||||
"(((?i:http|https|rtsp|ftp|telnet|ssh|sftp|fish)://)|((?i:xmpp):))") + "|" +
|
||||
|
||||
Reference in New Issue
Block a user