Treat comma, colon and semi-colon the same way.

git-svn-id: https://develop.svn.wordpress.org/trunk@11848 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2009-08-20 07:58:41 +00:00
parent 6ef85440d4
commit eaf2709b64

View File

@@ -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];
}