Treat comma, colon and semi-colon the same way.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f9aff1739a
commit
e545f9af13
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue