Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a0e4b78

Browse files
committed
img_tag(): For \n to be interpreted as a newline, the string must use double
quote, not single quotes. Ugh.
1 parent d22e250 commit a0e4b78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/perl/l2hinit.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ sub img_tag {
193193
,'" src="', $icon, '">' );
194194
}
195195
return join('', '<img ', $iconsizes{$1}, $align
196-
,'border=', $nav_border, ' alt="', $alt, '"\n'
196+
,'border=', $nav_border, ' alt="', $alt, "\"\n"
197197
,' src="', $ICONSERVER, "/$icon", '">' );
198198
}
199199
else {

0 commit comments

Comments
 (0)