From 6552ccc47758b0f85af785a324289796cc459eb0 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 1 Dec 2016 02:44:01 -0800 Subject: issue #607 parens not recognised inside urls --- include/bbcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bbcode.php') diff --git a/include/bbcode.php b/include/bbcode.php index 7e932151f..8ee1f0da1 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -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) { -- cgit v1.2.3