[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Avoid node name quoting when not needed in menu w
From: |
Patrice Dumas |
Subject: |
branch master updated: Avoid node name quoting when not needed in menu with entry name |
Date: |
Tue, 16 Aug 2022 03:27:49 -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 01d3402a43 Avoid node name quoting when not needed in menu with entry
name
01d3402a43 is described below
commit 01d3402a43df970bd5c94207a68a625055014b69
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Tue Aug 16 09:27:35 2022 +0200
Avoid node name quoting when not needed in menu with entry name
* tp/Texinfo/Convert/Plaintext.pm (_convert): fix nesting of
if to quote node only if the characters requiring quoting node name
in menu with entry name are present.
---
ChangeLog | 8 ++++++++
tp/Texinfo/Convert/Plaintext.pm | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index efcc3a830c..1ed99386b6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-08-15 Patrice Dumas <pertusus@free.fr>
+
+ Avoid node name quoting when not needed in menu with entry name
+
+ * tp/Texinfo/Convert/Plaintext.pm (_convert): fix nesting of
+ if to quote node only if the characters requiring quoting node name
+ in menu with entry name are present.
+
2022-08-15 Gavin Smith <gavinsmith0123@gmail.com>
Info output for reference commands
diff --git a/tp/Texinfo/Convert/Plaintext.pm b/tp/Texinfo/Convert/Plaintext.pm
index 3d894ea533..a5a761b52e 100644
--- a/tp/Texinfo/Convert/Plaintext.pm
+++ b/tp/Texinfo/Convert/Plaintext.pm
@@ -3061,9 +3061,9 @@ sub _convert($$)
"menu entry node name should not contain `%s'"), $1),
$element->{'source_info'});
}
- }
- if ($self->{'info_special_chars_quote'}) {
- $pre_quote = $post_quote = "\x{7f}";
+ if ($self->{'info_special_chars_quote'}) {
+ $pre_quote = $post_quote = "\x{7f}";
+ }
}
} else {
if ($node_text =~ /:/) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Avoid node name quoting when not needed in menu with entry name,
Patrice Dumas <=