mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-12 18:45:20 +02:00
git-svn-id: file:///svn/phpbb/trunk@7564 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
a0acf78139
commit
e9b79408b0
@ -2747,7 +2747,7 @@ function make_clickable($text, $server_url = false, $class = 'postlink')
|
|||||||
|
|
||||||
// matches an email@domain type address at the start of a line, or after a space or after what might be a BBCode.
|
// matches an email@domain type address at the start of a line, or after a space or after what might be a BBCode.
|
||||||
$magic_url_match[] = '/(^|[\n\t (>\]])(' . get_preg_expression('email') . ')/ie';
|
$magic_url_match[] = '/(^|[\n\t (>\]])(' . get_preg_expression('email') . ')/ie';
|
||||||
$magic_url_replace[] = "make_clickable_callback(MAGIC_URL_EMAIL, array('\$1', '\$2'), '')";
|
$magic_url_replace[] = "make_clickable_callback(MAGIC_URL_EMAIL, '\$1', '\$2', '', '')";
|
||||||
}
|
}
|
||||||
|
|
||||||
return preg_replace($magic_url_match, $magic_url_replace, $text);
|
return preg_replace($magic_url_match, $magic_url_replace, $text);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user