aboutsummaryrefslogtreecommitdiffstats
path: root/include/activities.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-11 21:35:56 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-11 21:35:56 +0100
commitbd3bc503edc9fd5035ed54070b0adf8760e402fa (patch)
tree0a4cbac294969ebc374e633488598beff8fde752 /include/activities.php
parent823729d2c1ea202a463c645d3a84ebf35140bd9f (diff)
parent34b38f06e00d929c3004ca7ee961405de0a209e1 (diff)
downloadvolse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.tar.gz
volse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.tar.bz2
volse-hubzilla-bd3bc503edc9fd5035ed54070b0adf8760e402fa.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/activities.php')
-rw-r--r--include/activities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/activities.php b/include/activities.php
index 2671e668c..9b83f7a5c 100644
--- a/include/activities.php
+++ b/include/activities.php
@@ -50,7 +50,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\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ism", '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);