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

Skip to content

Commit b31d36c

Browse files
committed
Fix the bugfix for SF bug #127151 -- make sure we map "previous_page" to
"previous" and "next_page" to "next". This way the proper icons are found.
1 parent 445f832 commit b31d36c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/perl/l2hinit.perl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,16 @@ sub make_nav_sectref {
117117
$my_icon_tags{'index'} = 'Index';
118118
$my_icon_tags{'modules'} = 'Module Index';
119119

120+
@my_icon_names = ();
121+
$my_icon_names{'previous_page'} = 'previous';
122+
$my_icon_names{'next_page'} = 'next';
123+
120124
sub get_my_icon {
121125
my $name = @_[0];
122126
my $text = $my_icon_tags{$name};
127+
if ($my_icon_names{$name}) {
128+
$name = $my_icon_names{$name};
129+
}
123130
if ($text eq '') {
124131
$name = 'blank';
125132
}

0 commit comments

Comments
 (0)