mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 14:23:57 -07:00
r522
Fix img path. Supporder GET options. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@522 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
parent
e418373934
commit
1b8c4d817c
1 changed files with 1 additions and 1 deletions
|
@ -497,7 +497,7 @@ class bbcode
|
|||
function init_replacements ()
|
||||
{
|
||||
$tpl = $this->tpl;
|
||||
$img_url_exp = 'http://[^\s\?&;=\#\"<>]+?\.(jpg|jpeg|gif|png)';
|
||||
$img_url_exp = 'http://[^\s\?&;=\#\"<>]+?\.(jpg|jpeg|gif|png)([a-z0-9/?&%;][^\[\]]*)?';
|
||||
$email_exp = '[a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+';
|
||||
$url_exp = '[\w\#!$%&~/.\-;:=,?@а-яА-Я\[\]+]+?';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue