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, 18 Apr 2024 15:16:39 -0400 (EDT)

branch: master
commit a4c97b319eb29a25698dfaae46b4aa3ee89ba172
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Apr 18 20:58:41 2024 +0200

    * tp/init/html32.pm (html32_convert_center_command): in string
    context, simply return the argument.
---
 ChangeLog         | 5 +++++
 tp/init/html32.pm | 4 +---
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 1b1044bd21..0c7043242f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-04-18  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/init/html32.pm (html32_convert_center_command): in string
+       context, simply return the argument.
+
 2024-04-18  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/HTML.pm (_convert_image_command),
diff --git a/tp/init/html32.pm b/tp/init/html32.pm
index 56ec846ed3..fb50f1c2e7 100644
--- a/tp/init/html32.pm
+++ b/tp/init/html32.pm
@@ -347,9 +347,7 @@ sub html32_convert_center_command($$$$)
   }
 
   if ($self->in_string()) {
-    # FIXME use an API?
-    return $self->{'types_conversion'}->{'preformatted'}($self, $cmdname, 
$command,
-                                                         
$args->[0]->{'normal'}."\n");
+    return $args->[0]->{'normal'}."\n";
   } else {
     return '<div align="center">'.$args->[0]->{'normal'}."\n</div>";
   }



reply via email to

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