Better regex for [11844]
git-svn-id: https://develop.svn.wordpress.org/trunk@11845 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46e1de4878
commit
212f2ce180
@ -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
Block a user