master
joey 2006-11-21 17:56:04 +00:00
parent ffb2700043
commit 95e8127405
1 changed files with 1 additions and 0 deletions

View File

@ -659,6 +659,7 @@ sub userlink ($) { #{{{
if ($display !~ /\[/) {
$display=~s/^(.*?)\.([^.]+\.[a-z]+)$/$1 [$2]/;
}
$display=~s!^https?://!!; # make sure this is removed
return "<a href=\"$user\">".escapeHTML($display)."</a>";
}
else {