summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-08-14 15:03:48 (GMT)
committerFred Drake <fdrake@acm.org>1998-08-14 15:03:48 (GMT)
commita0e4b78233dd9f3da8ac4e52217ed0d96429c03f (patch)
treee2f338e2c9f8f09b6d7f4e6e0e8bd17362875202
parentd22e25002a39ac81e7c3232ada2ccef58c0a8fed (diff)
downloadcpython-a0e4b78233dd9f3da8ac4e52217ed0d96429c03f.zip
cpython-a0e4b78233dd9f3da8ac4e52217ed0d96429c03f.tar.gz
cpython-a0e4b78233dd9f3da8ac4e52217ed0d96429c03f.tar.bz2
img_tag(): For \n to be interpreted as a newline, the string must use double
quote, not single quotes. Ugh.
-rw-r--r--Doc/perl/l2hinit.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index 20ebbe2..d9ddf14 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -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 {