merge branch 1.6 r1274:1275 into trunk (useless code)

git-svn-id: http://piwigo.org/svn/trunk@1276 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
chrisaga 2006-04-26 06:03:39 +00:00
parent c5c39aee68
commit 79cabc6fd9

View file

@ -479,7 +479,6 @@ function get_html_menu_category($categories)
*/
function parse_comment_content($content)
{
htmlentities($content,ENT_QUOTES);
$pattern = '/(https?:\/\/\S*)/';
$replacement = '<a href="$1" rel="nofollow">$1</a>';
$content = preg_replace($pattern, $replacement, $content);