diff options
author | Max Kostikov <max@kostikov.co> | 2019-07-25 12:25:27 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-07-25 12:25:27 +0200 |
commit | 5695350e98a8a2c802ff419c5b29b0f01f0180df (patch) | |
tree | 66fe3d69f857c0e57233dbb848022c61c459b012 /include/activities.php | |
parent | 4e3a0720c3c1dc6906adb055769254d77c740ba3 (diff) | |
download | volse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.tar.gz volse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.tar.bz2 volse-hubzilla-5695350e98a8a2c802ff419c5b29b0f01f0180df.zip |
Revert "Merge branch 'dev' into 'dev'"
This reverts merge request !1694
Diffstat (limited to 'include/activities.php')
-rw-r--r-- | include/activities.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/activities.php b/include/activities.php index f329e374c..68c995338 100644 --- a/include/activities.php +++ b/include/activities.php @@ -51,7 +51,7 @@ function profile_activity($changed, $value) { if($t == 1 && strlen($value)) { // if it's a url, the HTML quotes will mess it up, so link it and don't try and zidify it because we don't know what it points to. - $value = preg_replace_callback("/([^\]\='".'"'."]|^|\#\^)(https?\:\/\/[a-zA-Z0-9\pL\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)([\,\.\:\;]\s|$)/ismu", 'red_zrl_callback', $value); + $value = preg_replace_callback("/([^\]\='".'"'."]|^|\#\^)(https?\:\/\/[a-zA-Z0-9\pL\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ismu", 'red_zrl_callback', $value); // take out the bookmark indicator if(substr($value,0,2) === '#^') $value = str_replace('#^','',$value); |