aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-03-30 16:18:59 -0700
committerFriendika <info@friendika.com>2011-03-30 16:18:59 -0700
commit89e81862ec316ae41e616dd8b9ddeb6ab18193c7 (patch)
tree3b7615191f8008cd232526d723249c7cd6fd35bf /include
parent0fe997490df7fbd3d108c8da931e4823b0a4b2d9 (diff)
downloadvolse-hubzilla-89e81862ec316ae41e616dd8b9ddeb6ab18193c7.tar.gz
volse-hubzilla-89e81862ec316ae41e616dd8b9ddeb6ab18193c7.tar.bz2
volse-hubzilla-89e81862ec316ae41e616dd8b9ddeb6ab18193c7.zip
bug #29 - commas not linkified
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 4caf18766..44f571450 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -22,7 +22,7 @@ function bbcode($Text) {
// Perform URL Search
- $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%\$\!\+]+)/", ' <a href="$2" target="external-link">$2</a>', $Text);
+ $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%\$\!\+\,]+)/", ' <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);