diff --git a/Doc/perl/l2hinit.perl b/Doc/perl/l2hinit.perl index b5caf6bb35d..6e4b0cbead4 100644 --- a/Doc/perl/l2hinit.perl +++ b/Doc/perl/l2hinit.perl @@ -141,23 +141,25 @@ sub get_my_icon($) { . " height='32' alt='$text' width='32'>"; } -sub use_my_icon($) { - my $s = $_[0]; +sub use_my_icon($$) { + my($s,$rel) = @_; if ($s =~ /\/) { my $r = get_my_icon($1); $s =~ s/\/$r/; } + $s =~ s/<[aA] /