diff --git a/core/lib/Foswiki/Render.pm b/core/lib/Foswiki/Render.pm index eabf89dfdb..67053bad50 100644 --- a/core/lib/Foswiki/Render.pm +++ b/core/lib/Foswiki/Render.pm @@ -2169,16 +2169,9 @@ the image is taken from =$url=. The optional =$alt= specifies an alt string. sub renderIconImage { my ( $this, $url, $alt ) = @_; - my %params = ( - src => $url, - width => 16, - height => 16, - align => 'top', - border => 0 - ); - $params{alt} = $alt if defined $alt; + $alt = $alt ? " alt='$alt'" : ''; - return CGI::img( \%params ); + return ""; } 1;