mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
do not put mailto: in front of the text if parsing email address
git-svn-id: file:///svn/phpbb/trunk@7695 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
17b6b1e230
commit
8385b34222
1 changed files with 1 additions and 1 deletions
|
@ -2709,8 +2709,8 @@ function make_clickable_callback($type, $whitespace, $url, $relative_url, $class
|
||||||
|
|
||||||
case MAGIC_URL_EMAIL:
|
case MAGIC_URL_EMAIL:
|
||||||
$tag = 'e';
|
$tag = 'e';
|
||||||
$url = 'mailto:' . $url;
|
|
||||||
$text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;
|
$text = (strlen($url) > 55) ? substr($url, 0, 39) . ' ... ' . substr($url, -10) : $url;
|
||||||
|
$url = 'mailto:' . $url;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue