texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/Info.pm (format_node): Pass


From: Gavin D. Smith
Subject: branch master updated: * tp/Texinfo/Convert/Info.pm (format_node): Pass return value of node_name to Texinfo::Convert::Plaintext::_decode if interpolating into an error message.
Date: Wed, 24 Jan 2024 15:00:17 -0500

This is an automated email from the git hooks/post-receive script.

gavin pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 799f142150 * tp/Texinfo/Convert/Info.pm (format_node): Pass return 
value of node_name to Texinfo::Convert::Plaintext::_decode if interpolating 
into an error message.
799f142150 is described below

commit 799f142150efc27a488dc90132efe9b24cb58d22
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Wed Jan 24 20:00:06 2024 +0000

    * tp/Texinfo/Convert/Info.pm (format_node): Pass return value of
    node_name to Texinfo::Convert::Plaintext::_decode if interpolating
    into an error message.
---
 ChangeLog                  | 6 ++++++
 tp/Texinfo/Convert/Info.pm | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 318622642b..2719fc3be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-01-24  Gavin Smith <gavinsmith0123@gmail.com>
+
+       * tp/Texinfo/Convert/Info.pm (format_node): Pass return value of
+       node_name to Texinfo::Convert::Plaintext::_decode if interpolating
+       into an error message.
+
 2024-01-24  Gavin Smith <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/Convert/Plaintext.pm (convert_line_new_context):
diff --git a/tp/Texinfo/Convert/Info.pm b/tp/Texinfo/Convert/Info.pm
index 30814f6db5..f26b3397cd 100644
--- a/tp/Texinfo/Convert/Info.pm
+++ b/tp/Texinfo/Convert/Info.pm
@@ -563,7 +563,7 @@ sub format_node($$)
               and $node_direction->{'extra'}->{'manual_content'}) {
             $self->plaintext_line_warn($self, sprintf(__(
                  "\@node %s name should not contain `,': %s"),
-                                           $direction, $node_text),
+                                     $direction, $self->_decode($node_text)),
                              $node->{'source_info'});
           }
           if ($self->{'info_special_chars_quote'}) {



reply via email to

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