texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_table_term


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (_convert_table_term_type): add the <dt> in front in _convert_table_term_type. Remove _open_table_term_type.
Date: Sat, 26 Nov 2022 11:18:15 -0500

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 946bc3ed0e * tp/Texinfo/Convert/HTML.pm (_convert_table_term_type): 
add the <dt> in front in _convert_table_term_type.  Remove 
_open_table_term_type.
946bc3ed0e is described below

commit 946bc3ed0e2b2fd6fd1618d3068ec77c0bf18ba4
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Nov 26 17:18:06 2022 +0100

    * tp/Texinfo/Convert/HTML.pm (_convert_table_term_type): add the
    <dt> in front in _convert_table_term_type.  Remove
    _open_table_term_type.
---
 ChangeLog                  |  6 ++++++
 tp/Texinfo/Convert/HTML.pm | 15 +--------------
 2 files changed, 7 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7130fe1c57..adb6e4f03e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-11-26  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (_convert_table_term_type): add the
+       <dt> in front in _convert_table_term_type.  Remove
+       _open_table_term_type.
+
 2022-11-26  Gavin Smith  <gavinsmith0123@gmail.com>
 
        * tp/Texinfo/ParserNonXS.pm (gather_previous_item),
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 9cff929fd7..134e160712 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -6005,19 +6005,6 @@ sub _open_inline_container_type($$$)
 $default_types_open{'paragraph'} = \&_open_inline_container_type;
 $default_types_open{'preformatted'} = \&_open_inline_container_type;
 
-sub _open_table_term_type($$$)
-{
-  my $self = shift;
-  my $type = shift;
-  my $element = shift;
-
-  # will be closed by first @item in table_term.
-  return '<dt>';
-}
-$default_types_open{'table_term'} = \&_open_table_term_type;
-
-
-
 
 sub _preformatted_class()
 {
@@ -6501,7 +6488,7 @@ sub _convert_table_term_type($$$$)
   my $element = shift;
   my $content = shift;
 
-  return $content;
+  return '<dt>'.$content;
 }
 
 $default_types_conversion{'table_term'} = \&_convert_table_term_type;



reply via email to

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