From eaf2709b64e55ec86c135aa76aae6c737a7b8730 Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Thu, 20 Aug 2009 07:58:41 +0000 Subject: [PATCH] Treat comma, colon and semi-colon the same way. git-svn-id: https://develop.svn.wordpress.org/trunk@11848 602fd350-edb4-49c9-b593-d223f7449a82 --- 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]; }