aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-26 17:48:05 -0700
committerfriendica <info@friendica.com>2013-08-26 17:48:05 -0700
commit2e72b136c558652ca9a9b755b29cdb99ee27ee7f (patch)
tree287c71a74041658af03c42f580191dd0323f0210 /include/bbcode.php
parent7a8363c328d69b53a0c949bc2d8a047d2536d911 (diff)
downloadvolse-hubzilla-2e72b136c558652ca9a9b755b29cdb99ee27ee7f.tar.gz
volse-hubzilla-2e72b136c558652ca9a9b755b29cdb99ee27ee7f.tar.bz2
volse-hubzilla-2e72b136c558652ca9a9b755b29cdb99ee27ee7f.zip
fix profile change activity where the change is a solitary url - and includes a stray right quote
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 9f9489893..a0a53a310 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -271,7 +271,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
$urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,]';
if (strpos($Text,'http') !== false) {
- $Text = preg_replace("/([^\"\]\='".'"'."]|^)(https?\:\/\/$urlchars+)/ism", '$1<a href="$2" >$2</a>', $Text);
+ $Text = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/$urlchars+)/ism", '$1<a href="$2" >$2</a>', $Text);
}
if (strpos($Text,'[/share]') !== false) {
$Text = preg_replace_callback("/\[share(.*?)\](.*?)\[\/share\]/ism","bb_ShareAttributes",$Text);