]> granicus.if.org Git - python/commitdiff
img_tag(): For \n to be interpreted as a newline, the string must use double
authorFred Drake <fdrake@acm.org>
Fri, 14 Aug 1998 15:03:48 +0000 (15:03 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 14 Aug 1998 15:03:48 +0000 (15:03 +0000)
quote, not single quotes.  Ugh.

Doc/perl/l2hinit.perl

index 20ebbe24fadad2f8312198444cfb1c2f4e399cd9..d9ddf1426c6d4b2ce532f2dbecc9f427f5e7d146 100644 (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 {