issue #607 parens not recognised inside urls

This commit is contained in:
zotlabs
2016-12-01 02:44:01 -08:00
parent 83a4999dbe
commit 6552ccc477
3 changed files with 4 additions and 4 deletions

View File

@@ -703,7 +703,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true, $cache = false)
// Perform URL Search
$urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,\@]';
$urlchars = '[a-zA-Z0-9\:\/\-\?\&\;\.\=\@\_\~\#\%\$\!\+\,\@\(\)]';
if (strpos($Text,'http') !== false) {
if($tryoembed) {