mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added auto link email with query parameters
This commit is contained in:
@@ -1355,7 +1355,8 @@ public class HtmlHelper {
|
||||
// tel:<phonenumber>
|
||||
final Pattern GPA_PATTERN = Pattern.compile("GPA\\.\\d{4}-\\d{4}-\\d{4}-\\d{5}");
|
||||
final Pattern pattern = Pattern.compile(
|
||||
"(((?i:mailto):)?" + PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() + ")" +
|
||||
"(((?i:mailto):)?" + PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() +
|
||||
"(\\?[^\\s]*)" /* query parameters */ + ")" +
|
||||
"|" +
|
||||
PatternsCompat.AUTOLINK_WEB_URL.pattern()
|
||||
.replace("(?i:http|https|rtsp)://",
|
||||
|
||||
Reference in New Issue
Block a user