1
1
Fork 0

more punctuation characters added to linkify patterns

This commit is contained in:
Friendika 2011-02-20 20:20:33 -08:00
commit ee35c06a8d
2 changed files with 2 additions and 2 deletions

View file

@ -2060,7 +2060,7 @@ function aes_encrypt($val,$ky)
if(! function_exists('linkify')) {
function linkify($s) {
$s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]*)/", ' <a href="$1" target="external-link">$1</a>', $s);
$s = preg_replace("/(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%\$\!\+]*)/", ' <a href="$1" target="external-link">$1</a>', $s);
return($s);
}}