|
|
@ -892,7 +892,7 @@ public class HtmlHelper {
|
|
|
|
// geo:<lat>,<lon>[,<alt>][;u=<uncertainty>]
|
|
|
|
// geo:<lat>,<lon>[,<alt>][;u=<uncertainty>]
|
|
|
|
// tel:<phonenumber>
|
|
|
|
// tel:<phonenumber>
|
|
|
|
final Pattern pattern = Pattern.compile(
|
|
|
|
final Pattern pattern = Pattern.compile(
|
|
|
|
PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() + "|" +
|
|
|
|
"(((?i:mailto):)?" + PatternsCompat.AUTOLINK_EMAIL_ADDRESS.pattern() + ")|" +
|
|
|
|
PatternsCompat.AUTOLINK_WEB_URL.pattern()
|
|
|
|
PatternsCompat.AUTOLINK_WEB_URL.pattern()
|
|
|
|
.replace("(?i:http|https|rtsp)://",
|
|
|
|
.replace("(?i:http|https|rtsp)://",
|
|
|
|
"(((?i:http|https|rtsp|ftp|telnet|ssh|sftp|fish)://)|((?i:xmpp):))") + "|" +
|
|
|
|
"(((?i:http|https|rtsp|ftp|telnet|ssh|sftp|fish)://)|((?i:xmpp):))") + "|" +
|
|
|
|