aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-04-18 17:55:35 -0700
committerfriendica <info@friendica.com>2013-04-18 17:55:35 -0700
commitdb038c56542f7fb9658c3b7a703e50efe7823014 (patch)
treeb0f0af805f46209406ccfed3969718f5d414ed35 /include/bbcode.php
parentba1cb0bb059bfcd20ec2a14b70c4a79b4a222977 (diff)
downloadvolse-hubzilla-db038c56542f7fb9658c3b7a703e50efe7823014.tar.gz
volse-hubzilla-db038c56542f7fb9658c3b7a703e50efe7823014.tar.bz2
volse-hubzilla-db038c56542f7fb9658c3b7a703e50efe7823014.zip
turn naked links in posts into zrl's if we've got a hubloc for the site
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 44bde9acb..7a1e3a5e8 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -268,7 +268,6 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
$Text = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/$urlchars+)/ism", '$1<a href="$2" >$2</a>', $Text);
-// $Text = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/$urlchars+)\{zid\}($urlchars*)/ism", '$1<a class="zrl" href="$2$3" >$2$3</a>', $Text);
$Text = preg_replace_callback("/\[share(.*?)\](.*?)\[\/share\]/ism","bb_ShareAttributes",$Text);