[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/Convert/HTML.pm (output_internal_lin
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/Convert/HTML.pm (output_internal_links): determine if index entry is in code style by checking the associated index information, and not the entry information. |
Date: |
Wed, 08 Mar 2023 04:37:45 -0500 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 770dcc6d86 * tp/Texinfo/Convert/HTML.pm (output_internal_links):
determine if index entry is in code style by checking the associated index
information, and not the entry information.
770dcc6d86 is described below
commit 770dcc6d866eb5dbad6e9b82ff6d8514e7441563
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Mar 8 10:37:36 2023 +0100
* tp/Texinfo/Convert/HTML.pm (output_internal_links): determine if
index entry is in code style by checking the associated index
information, and not the entry information.
---
ChangeLog | 6 ++++++
tp/Texinfo/Convert/HTML.pm | 5 ++++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index f49d111d62..04d3020001 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2023-03-07 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (output_internal_links): determine if
+ index entry is in code style by checking the associated index
+ information, and not the entry information.
+
2023-03-07 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/HTML.pm (_prepare_index_entries),
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 5bdc708eef..542c985a1c 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -10567,6 +10567,9 @@ sub output_internal_links($)
foreach my $letter_entry (@{$index_entries_by_letter->{$index_name}}) {
foreach my $index_entry (@{$letter_entry->{'entries'}}) {
my $main_entry_element = $index_entry->{'entry_element'};
+ my $in_code
+ = $self->{'indices_information'}->{$index_entry->{'index_name'}}
+ ->{'in_code'};
# does not refer to the document
next if ($main_entry_element->{'extra'}
and ($main_entry_element->{'extra'}->{'seeentry'}
@@ -10575,7 +10578,7 @@ sub output_internal_links($)
$href = $self->command_href($main_entry_element, '');
# Obtain term by converting to text
my $converter_options = {%options};
- $converter_options->{'code'} = $index_entry->{'in_code'};
+ $converter_options->{'code'} = $in_code;
my $entry_reference_content_element
= Texinfo::Common::index_content_element($main_entry_element);
my @contents = ($entry_reference_content_element);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/Convert/HTML.pm (output_internal_links): determine if index entry is in code style by checking the associated index information, and not the entry information.,
Patrice Dumas <=