aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-08 12:02:45 -0800
committerfriendica <info@friendica.com>2014-02-08 12:02:45 -0800
commite71571f619e94ab6fbbd92dea819a0effa071484 (patch)
treea6c88ba2dff649a654a58fbbf814a99ce7c903e0 /mod
parent4a5c1441e13970bf0b224c6cbca2cac198d4ec6d (diff)
downloadvolse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.tar.gz
volse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.tar.bz2
volse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.zip
revert last fix, it double tags
Diffstat (limited to 'mod')
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 48ecdf1a1..e8a58fe76 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -431,7 +431,7 @@ function item_post(&$a) {
$body = preg_replace('/\[([uz])rl(.*?)\](.*?)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)(.*?)\[\/([uz])rl\]/ism','[$1rl$2]$3"$4"$5[/$6rl]',$body);
- $body = preg_replace_callback("/([^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ism", 'red_zrl_callback', $body);
+ $body = preg_replace_callback("/([^\^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]+)/ism", 'red_zrl_callback', $body);
/**
*