From e545f9af13f7c1320c9cd7c8d74e7d4ad527b222 Mon Sep 17 00:00:00 2001 From: westi Date: Thu, 20 Aug 2009 07:58:41 +0000 Subject: [PATCH] Treat comma, colon and semi-colon the same way. git-svn-id: http://svn.automattic.com/wordpress/trunk@11848 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/formatting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index 1a91f9b205..bed4f50616 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -1187,7 +1187,7 @@ function _make_url_clickable_cb($matches) { $url = $matches[2]; $after = ''; - if ( preg_match( '|(.+?)([).]*)$|', $url, $split ) ) { + if ( preg_match( '|(.+?)([).,;:]*)$|', $url, $split ) ) { $url = $split[1]; $after = $split[2]; }