aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-08-25 20:12:56 -0700
committerFriendika <info@friendika.com>2011-08-25 20:12:56 -0700
commitc15c53d307f1b298e6140e33dfbd859a68d0b5f9 (patch)
tree2d25aac191bb5eaedfeff2a058f573de3653e3d6 /include
parent5eb08d43b6f78b1aec5f40d4a53725e713cfd9b5 (diff)
downloadvolse-hubzilla-c15c53d307f1b298e6140e33dfbd859a68d0b5f9.tar.gz
volse-hubzilla-c15c53d307f1b298e6140e33dfbd859a68d0b5f9.tar.bz2
volse-hubzilla-c15c53d307f1b298e6140e33dfbd859a68d0b5f9.zip
one more little tweak to linkificator
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 6c26dabfe..c05c36938 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -41,7 +41,7 @@ function bbcode($Text,$preserve_nl = false) {
// Perform URL Search
- $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\%\$\!\+\,]+)/", ' <a href="$2" target="external-link">$1$2</a>', $Text);
+ $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\%\$\!\+\,]+)/", '$1<a href="$2" target="external-link">$2</a>', $Text);
$Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '<a href="$1" target="external-link">$1</a>', $Text);
$Text = preg_replace("(\[url\=([$URLSearchString]*)\](.*?)\[/url\])", '<a href="$1" target="external-link">$2</a>', $Text);