diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 02:24:34 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-01-28 02:24:34 +0000 |
commit | 25ef416369b01078d4788f9ca300e66562428462 (patch) | |
tree | 58f6a90e9bbce3a88b821039b8071fde1387556a /phpBB/includes | |
parent | e0efa1999f22f388517ef46d9ac36e0332e32206 (diff) | |
download | forums-25ef416369b01078d4788f9ca300e66562428462.tar forums-25ef416369b01078d4788f9ca300e66562428462.tar.gz forums-25ef416369b01078d4788f9ca300e66562428462.tar.bz2 forums-25ef416369b01078d4788f9ca300e66562428462.tar.xz forums-25ef416369b01078d4788f9ca300e66562428462.zip |
And another ...
git-svn-id: file:///svn/phpbb/trunk@1983 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/bbcode.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/bbcode.php b/phpBB/includes/bbcode.php index cf1755c485..3573f7b8c1 100644 --- a/phpBB/includes/bbcode.php +++ b/phpBB/includes/bbcode.php @@ -201,11 +201,11 @@ function bbencode_second_pass($text, $uid) $replacements[2] = $bbcode_tpl['url2']; // [url=xxxx://www.phpbb.com]phpBB[/url] code.. - $patterns[3] = "#\[url=([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+]+)\]([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+ ]+)\[/url\]#si"; + $patterns[3] = "#\[url=([a-z]+?://){1}([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+]+)\](.*?)\[/url\]#si"; $replacements[3] = $bbcode_tpl['url3']; // [url=www.phpbb.com]phpBB[/url] code.. (no xxxx:// prefix). - $patterns[4] = "#\[url=([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+]+)\]([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+ ]+)\[/url\]#si"; + $patterns[4] = "#\[url=([a-z0-9\-\.,\?!%\*_\#:~\\&$@\/=\+]+)\](.*?)\[/url\]#si"; $replacements[4] = $bbcode_tpl['url4']; // [email]user@domain.tld[/email] code.. |