[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Sun, 31 Dec 2023 18:26:41 -0500 (EST) |
branch: master
commit b5fad95d65108adf7cb368a982c548a8a0f606d3
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jan 1 00:09:10 2024 +0100
* tp/Texinfo/Convert/HTML.pm (_convert_item_command): rename $index_id
as $index_entry_id.
---
ChangeLog | 5 +++++
tp/Texinfo/Convert/HTML.pm | 8 ++++----
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 36050c975a..a9fb4af69d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,11 @@
No functional changes intended.
+2023-12-31 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/Convert/HTML.pm (_convert_item_command): rename $index_id
+ as $index_entry_id.
+
2023-12-31 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/Convert/HTML.pm (_get_copiable_anchor): return undef if
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 0833f87afd..7a02696a5f 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5772,11 +5772,11 @@ sub _convert_item_command($$$$$)
my $result = ($cmdname eq 'item') ? '' : '<dt>';
- my $index_id = $self->command_id($command);
+ my $index_entry_id = $self->command_id($command);
my $anchor;
- if (defined($index_id)) {
- $result .= "<a id=\"$index_id\"></a>";
- $anchor = $self->_get_copiable_anchor($index_id);
+ if (defined($index_entry_id)) {
+ $result .= "<a id=\"$index_entry_id\"></a>";
+ $anchor = $self->_get_copiable_anchor($index_entry_id);
if (defined($anchor)) {
$result .= '<span>';
}