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

Skip to content

Commit bb584d3

Browse files
committed
Be more stylesheet friendly.
1 parent a608a1d commit bb584d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Doc/perl/l2hinit.perl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ sub add_module_idx{
300300
my $plat = '';
301301
$key =~ s/<tt>([a-zA-Z0-9._]*)<\/tt>/\1/;
302302
if ($ModulePlatforms{$key} && !$allthesame) {
303-
$plat = " <em>($ModulePlatforms{$key})</em>";
303+
$plat = (" <em>(<span class=platform>$ModulePlatforms{$key}"
304+
. '</span>)</em>');
304305
}
305306
print MODIDXFILE
306307
$moditem

0 commit comments

Comments
 (0)