do { $$_=1 if !defined $$_; } for (\$args{"size"});
$contents=CGI::escapeHTML($url) if !defined $contents;
+ $contents=~s#<a\b[^>]*>##gi;
+ $contents=~s#</a>##gi;
my $r='<a href="';
my $urlent=CGI::escapeHTML($url);
{ $r.=$urlent; }
else # unknown client, &CGI::escapeHTML should not be needed here
{ $r.=CGI::escapeHTML(top_dir()."/Redirect.pl?location=".uri_escape($url)); }
+ $r.='"';
+ do { $r.=" $_" if $_; } for ($args{"attr"});
$r.='">'.$contents.'</a>';
if ($args{"size"} && url_is_local($url) && $url=~/[.](?:gz|Z|rpm|zip|deb|lha)/) { # Downloadable?
if (!-r $url)