mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
- add comment about $CUSTOM_BUTTONS
- use_icon(): fix the check for whether a supplemental link is being used
This commit is contained in:
parent
3bbd115735
commit
3f26af765d
1 changed files with 2 additions and 1 deletions
|
@ -109,6 +109,7 @@ sub custom_driver_hook {
|
|||
}
|
||||
|
||||
|
||||
# $CUSTOM_BUTTONS is only used for the module index link.
|
||||
$CUSTOM_BUTTONS = '';
|
||||
|
||||
sub make_nav_sectref($$$) {
|
||||
|
@ -163,7 +164,7 @@ sub unlinkify($) {
|
|||
|
||||
sub use_icon($$$) {
|
||||
my($rel,$str,$title) = @_;
|
||||
if ($title) {
|
||||
if ($str) {
|
||||
my $s = "$str";
|
||||
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
|
||||
my $r = get_my_icon($1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue