summaryrefslogtreecommitdiffstats
path: root/Doc/perl
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1999-03-25 22:18:30 (GMT)
committerFred Drake <fdrake@acm.org>1999-03-25 22:18:30 (GMT)
commitbb584d3f6edf292d0c9cb3296a2a319161335eba (patch)
tree8bfdaeebb3ec14b7a1b181d4aac75150176be02d /Doc/perl
parenta608a1df87d52cc4d3e9ceaaff8c0a7e580e4e0b (diff)
downloadcpython-bb584d3f6edf292d0c9cb3296a2a319161335eba.zip
cpython-bb584d3f6edf292d0c9cb3296a2a319161335eba.tar.gz
cpython-bb584d3f6edf292d0c9cb3296a2a319161335eba.tar.bz2
Be more stylesheet friendly.
Diffstat (limited to 'Doc/perl')
-rw-r--r--Doc/perl/l2hinit.perl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl
index e247c1b..8d737c0 100644
--- a/Doc/perl/l2hinit.perl
+++ b/Doc/perl/l2hinit.perl
@@ -300,7 +300,8 @@ sub add_module_idx{
my $plat = '';
$key =~ s/<tt>([a-zA-Z0-9._]*)<\/tt>/\1/;
if ($ModulePlatforms{$key} && !$allthesame) {
- $plat = " <em>($ModulePlatforms{$key})</em>";
+ $plat = (" <em>(<span class=platform>$ModulePlatforms{$key}"
+ . '</span>)</em>');
}
print MODIDXFILE
$moditem