diff options
author | root <root@diekershoff.homeunix.net> | 2011-01-24 13:35:23 +0100 |
---|---|---|
committer | root <root@diekershoff.homeunix.net> | 2011-01-24 13:35:23 +0100 |
commit | 7e007b6c07d5395c59797999728fcde288ed79b1 (patch) | |
tree | 17e0d658f3e4aebb79fd3bcc3f3e27880b740dcf /include/bbcode.php | |
parent | 80a7e68528e7a4d95c168889f1a2fb9eccf6e3b9 (diff) | |
parent | 35918a9f1fd7539156fe4e5edaf2542da0c9931a (diff) | |
download | volse-hubzilla-7e007b6c07d5395c59797999728fcde288ed79b1.tar.gz volse-hubzilla-7e007b6c07d5395c59797999728fcde288ed79b1.tar.bz2 volse-hubzilla-7e007b6c07d5395c59797999728fcde288ed79b1.zip |
Merge branch 'master' of git://github.com/tobiasd/friendika
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 81b581cdb..9e5f5a371 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" >$2</a>', $Text); + $Text = preg_replace("/([^\]\=]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\.\=\_\~\#\'\%]+)/", ' <a href="$2" >$2</a>', $Text); $Text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/", '<a href="$1" >$1</a>', $Text); $Text = preg_replace("(\[url\=([$URLSearchString]*)\](.+?)\[/url\])", '<a href="$1" >$2</a>', $Text); |