aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-02-20 20:20:33 -0800
committerFriendika <info@friendika.com>2011-02-20 20:20:33 -0800
commitee35c06a8d138d14f1bf7c0d7fb710721709c3a9 (patch)
tree697fc479f01b6bfbf989e45366237da600e32ebb /include/bbcode.php
parentd609e75b07d6ba0d0867c6bce78b90b7f488923c (diff)
downloadvolse-hubzilla-ee35c06a8d138d14f1bf7c0d7fb710721709c3a9.tar.gz
volse-hubzilla-ee35c06a8d138d14f1bf7c0d7fb710721709c3a9.tar.bz2
volse-hubzilla-ee35c06a8d138d14f1bf7c0d7fb710721709c3a9.zip
more punctuation characters added to linkify patterns
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 c55ebab00..978b4af69 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);