texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Patrice Dumas
Date: Thu, 5 Sep 2024 15:56:03 -0400 (EDT)

branch: master
commit 909859aeb54f17d0ab60e4a858dc884711f13bca
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Sep 5 21:55:53 2024 +0200

    * tp/ext/epub3.pm (epub_convert_special_unit_type): rename
    $element variable as $output_unit.
---
 ChangeLog       | 5 +++++
 tp/ext/epub3.pm | 8 ++++----
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 982bd5b0bb..40f08df835 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-09-05  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/ext/epub3.pm (epub_convert_special_unit_type): rename
+       $element variable as $output_unit. 
+
 2024-09-05  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Makefile.am (test_files), tp/Makefile.tres, tp/t/html_tests.t
diff --git a/tp/ext/epub3.pm b/tp/ext/epub3.pm
index 2c9a1ff3b1..89f7e37028 100644
--- a/tp/ext/epub3.pm
+++ b/tp/ext/epub3.pm
@@ -401,15 +401,15 @@ sub epub_convert_special_unit_type($$$$)
 {
   my $self = shift;
   my $type = shift;
-  my $element = shift;
+  my $output_unit = shift;
   my $content = shift;
 
   push @epub_special_elements_filenames,
-   $element->{'unit_filename'}
-    unless grep {$_ eq $element->{'unit_filename'}}
+   $output_unit->{'unit_filename'}
+    unless grep {$_ eq $output_unit->{'unit_filename'}}
             @epub_special_elements_filenames;
   return &{$self->default_output_unit_conversion($type)}($self,
-                                      $type, $element, $content);
+                                      $type, $output_unit, $content);
 }
 
 sub _epub_remove_container_folder($$)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]