RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-formatting.php,v
retrieving revision 1.52
diff -u -3 -r1.52 functions-formatting.php
|
|
|
422 | 422 | $ret = ' ' . $ret . ' '; |
423 | 423 | $ret = preg_replace("#(\s)http://([^\s<>{}()]+[^\s.,<>{}()])#i", "$1<a href='http://$2'>http://$2</a>", $ret); |
424 | 424 | $ret = preg_replace("#(\s)www\.([a-z0-9\-]+)\.([a-z0-9\-.\~]+)((?:/[^ <>{}()\n\r]*[^., <>{}()\n\r]?)?)#i", "$1<a href='http://www.$2.$3$4'>www.$2.$3$4</a>", $ret); |
425 | | $ret = preg_replace("#(\s)([a-z0-9\-_.]+)@([^,< \n\r]+)#i", "$1<a href='mailto:$2@$3\">$2@$3</a>", $ret); |
| 425 | $ret = preg_replace("#(\s)([a-z0-9\-_.]+)@([^,< \n\r]+)#i", "$1<a href=\"mailto:$2@$3\">$2@$3</a>", $ret); |
426 | 426 | $ret = trim($ret); |
427 | 427 | return $ret; |
428 | 428 | } |
… |
… |
|
573 | 573 | return $since; |
574 | 574 | } |
575 | 575 | |
576 | | ?> |
577 | | No newline at end of file |
| 576 | ?> |