texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: correct a couple of API info comments


From: Gavin D. Smith
Subject: branch master updated: correct a couple of API info comments
Date: Sat, 04 Jun 2022 19:47:01 -0400

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 9a370dfca3 correct a couple of API info comments
9a370dfca3 is described below

commit 9a370dfca331872026aa6ea6d1bca56105e1572a
Author: Gavin Smith <gavinsmith0123@gmail.com>
AuthorDate: Sun Jun 5 00:46:52 2022 +0100

    correct a couple of API info comments
---
 tp/Texinfo/Convert/HTML.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index b70db0a9aa..47408c480b 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -5501,11 +5501,11 @@ sub _convert_text($$$)
   #} elsif (!$self->in_code() and !$self->in_math()) {
   } elsif (!$context->{'monospace'}->[-1] and !$context->{'math'}) {
     # API info: get_conf() API code conforming would be:
-    #if ($self->{'conf'}->{'USE_NUMERIC_ENTITY'}) {
+    #if ($self->get_conf('USE_NUMERIC_ENTITY')) {
     if ($self->{'conf'}->{'USE_NUMERIC_ENTITY'}) {
       $text = $self->xml_format_text_with_numeric_entities($text);
     # API info: get_conf() API code conforming would be:
-    #} elsif ($self->{'conf'}->{'USE_ISO'}) {
+    #} elsif ($self->get_conf('USE_ISO')) {
     } elsif ($self->{'conf'}->{'USE_ISO'}) {
       $text = _entity_text($text);
     } else {



reply via email to

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