img_tag(): For \n to be interpreted as a newline, the string must use double

quote, not single quotes.  Ugh.
This commit is contained in:
Fred Drake 1998-08-14 15:03:48 +00:00
parent d22e25002a
commit a0e4b78233

View file

@ -193,7 +193,7 @@ sub img_tag {
,'" src="', $icon, '">' );
}
return join('', '<img ', $iconsizes{$1}, $align
,'border=', $nav_border, ' alt="', $alt, '"\n'
,'border=', $nav_border, ' alt="', $alt, "\"\n"
,' src="', $ICONSERVER, "/$icon", '">' );
}
else {