texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/Converter.pm (convert_index_


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/Converter.pm (convert_index_subentries): use convert_tree() instead of _convert().
Date: Tue, 24 Aug 2021 03:16:09 -0400

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 e23ba57  * tp/Texinfo/Convert/Converter.pm (convert_index_subentries): 
use convert_tree() instead of _convert().
e23ba57 is described below

commit e23ba579c460dfccc19fdd0d2af52387db0673f2
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Aug 24 09:15:58 2021 +0200

    * tp/Texinfo/Convert/Converter.pm (convert_index_subentries):
    use convert_tree() instead of _convert().
---
 ChangeLog                       | 5 +++++
 tp/Texinfo/Convert/Converter.pm | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 005c9c6..03f27ce 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2021-08-24  Patrice Dumas  <pertusus@free.fr>
 
+       * tp/Texinfo/Convert/Converter.pm (convert_index_subentries):
+       use convert_tree() instead of _convert().
+
+2021-08-24  Patrice Dumas  <pertusus@free.fr>
+
        * tp/Texinfo/Convert/HTML.pm (_convert_printindex_command):
        convert @subentry in monospace context if in code index.
        * tp/Texinfo/Convert/Plaintext.pm (_open_code, _close_code)
diff --git a/tp/Texinfo/Convert/Converter.pm b/tp/Texinfo/Convert/Converter.pm
index 71b7e80..ea34036 100644
--- a/tp/Texinfo/Convert/Converter.pm
+++ b/tp/Texinfo/Convert/Converter.pm
@@ -1350,8 +1350,8 @@ sub convert_index_subentries {
   my $tmp = $entry->{'command'};
   while ($tmp->{'extra'} and $tmp->{'extra'}->{'subentry'}) {
     $tmp = $tmp->{'extra'}->{'subentry'};
-    $result .= $self->_convert({'text' => ', '});
-    $result .= $self->_convert($tmp->{'args'}->[0]);
+    $result .= $self->convert_tree({'text' => ', '});
+    $result .= $self->convert_tree($tmp->{'args'}->[0]);
   }
   return $result;
 }



reply via email to

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