diff --git a/upload/includes/bbcode.php b/upload/includes/bbcode.php index b693ab78c..73c0ff20a 100644 --- a/upload/includes/bbcode.php +++ b/upload/includes/bbcode.php @@ -498,7 +498,7 @@ class bbcode function init_replacements () { $tpl = $this->tpl; - $img_url_exp = '(https?:)?//[^\s\?&;=\#\"<>]+?\.(jpg|jpeg|gif|png)([a-z0-9/?&%;][^\[\]]*)?'; + $img_url_exp = '(https?:)?//[^\s\?&;=\#\"<>]+?\.(jpg|jpeg|gif|png)([a-z0-9/?&%;][^\[\]]*)?'; $email_exp = '[a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+'; $url_exp = '[\w\#!$%&~/.\-;:=,?@а-яА-Я\[\]+]+?'; diff --git a/upload/templates/default/posting_editor.tpl b/upload/templates/default/posting_editor.tpl index 2b2eeabef..7d5d8838b 100644 --- a/upload/templates/default/posting_editor.tpl +++ b/upload/templates/default/posting_editor.tpl @@ -1,31 +1,25 @@