fix url bbcode

make_clickable
This commit is contained in:
Dark Nightmare 2014-09-18 18:59:39 +06:00
commit 63c38b6a38

View file

@ -739,7 +739,7 @@ class bbcode
(?<![\"'=]) (?<![\"'=])
\b \b
( (
https?://[\w\#!$%&~/.\-;:=?@а-яА-Я\[\]+]+ https?://[\w\#!$%&~/.\-;:=?@а-яА-Я()\[\]+]+
) )
(?![\"']|\[/url|\[/img|</a) (?![\"']|\[/url|\[/img|</a)
(?=[,!]?\s|[\)<!]) (?=[,!]?\s|[\)<!])