aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-06 16:22:40 -0800
committerfriendica <info@friendica.com>2014-02-06 16:22:40 -0800
commit9b2dc9b87c01f02463997ea4674c364151918f8b (patch)
treebdec4f58e98da2a79b8e52314ed984f0fc6fd853 /mod
parenta46fa1fbaecb5623fb6287ff9fb4479ad2f4f1d1 (diff)
downloadvolse-hubzilla-9b2dc9b87c01f02463997ea4674c364151918f8b.tar.gz
volse-hubzilla-9b2dc9b87c01f02463997ea4674c364151918f8b.tar.bz2
volse-hubzilla-9b2dc9b87c01f02463997ea4674c364151918f8b.zip
make all naked links bookmark-able
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 c8c0e3762..47a3f1961 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -425,7 +425,7 @@ function item_post(&$a) {
* (already known to us) which will get a zrl, otherwise link with url
*/
- $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);
/**
*