diff options
author | friendica <info@friendica.com> | 2014-02-08 12:02:45 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-08 12:02:45 -0800 |
commit | e71571f619e94ab6fbbd92dea819a0effa071484 (patch) | |
tree | a6c88ba2dff649a654a58fbbf814a99ce7c903e0 | |
parent | 4a5c1441e13970bf0b224c6cbca2cac198d4ec6d (diff) | |
download | volse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.tar.gz volse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.tar.bz2 volse-hubzilla-e71571f619e94ab6fbbd92dea819a0effa071484.zip |
revert last fix, it double tags
-rw-r--r-- | mod/item.php | 2 |
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); /** * |