]> granicus.if.org Git - python/commitdiff
Be more stylesheet friendly.
authorFred Drake <fdrake@acm.org>
Thu, 25 Mar 1999 22:18:30 +0000 (22:18 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 25 Mar 1999 22:18:30 +0000 (22:18 +0000)
Doc/perl/l2hinit.perl

index e247c1b475033c293adff0896603223b56dcc6b3..8d737c0ee44d19da80d1030a1db49d4996738f71 100644 (file)
@@ -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