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 (output): use the la


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (output): use the last value in preamble for documentlanguage to format the title and the copying block in comments.
Date: Sun, 09 Jan 2022 17:38:59 -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 6c5c875133 * tp/Texinfo/Convert/HTML.pm (output): use the last value 
in preamble for documentlanguage to format the title and the copying block in 
comments.
6c5c875133 is described below

commit 6c5c875133cd80c44141b3fc322d38994406c8f1
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Jan 9 23:38:49 2022 +0100

    * tp/Texinfo/Convert/HTML.pm (output): use the last value in
    preamble for documentlanguage to format the title and the
    copying block in comments.
---
 ChangeLog                                                           | 6 ++++++
 tp/Texinfo/Convert/HTML.pm                                          | 3 +--
 tp/t/results/html_tests/itemize_arguments/res_html/index.html       | 6 +++---
 .../itemize_arguments_enable_encoding/res_html/index.html           | 6 +++---
 tp/t/results/init_files_tests/modified_translation.pl               | 6 +++---
 5 files changed, 16 insertions(+), 11 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 916dfafd40..7b62f35d61 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-01-09  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (output): use the last value in
+       preamble for documentlanguage to format the title and the
+       copying block in comments.
+
 2022-01-09  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/Info.pm (_info_header): use the last value in
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 56707dfb6b..a15463dbbd 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -8522,8 +8522,7 @@ sub output($$)
   $self->set_conf('BODYTEXT',
                   'lang="' . $self->get_conf('documentlanguage') . '"');
 
-  # FIXME here reset to preamble only, but need to change tests
-  #$self->set_global_document_commands('preamble', ['documentlanguage']);
+  $self->set_global_document_commands('preamble', ['documentlanguage']);
   # prepare title.  fulltitle uses more possibility than simpletitle for
   # title, including @-commands found in @titlepage only.  Therefore
   # simpletitle is more in line with what makeinfo in C does.
diff --git a/tp/t/results/html_tests/itemize_arguments/res_html/index.html 
b/tp/t/results/html_tests/itemize_arguments/res_html/index.html
index d6e2419e14..894bf30456 100644
--- a/tp/t/results/html_tests/itemize_arguments/res_html/index.html
+++ b/tp/t/results/html_tests/itemize_arguments/res_html/index.html
@@ -3,10 +3,10 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Document sans titre</title>
+<title>Untitled Document</title>
 
-<meta name="description" content="Document sans titre">
-<meta name="keywords" content="Document sans titre">
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
diff --git 
a/tp/t/results/html_tests/itemize_arguments_enable_encoding/res_html/index.html 
b/tp/t/results/html_tests/itemize_arguments_enable_encoding/res_html/index.html
index a85ebad4c4..6ec0db0bb3 100644
--- 
a/tp/t/results/html_tests/itemize_arguments_enable_encoding/res_html/index.html
+++ 
b/tp/t/results/html_tests/itemize_arguments_enable_encoding/res_html/index.html
@@ -3,10 +3,10 @@
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Document sans titre</title>
+<title>Untitled Document</title>
 
-<meta name="description" content="Document sans titre">
-<meta name="keywords" content="Document sans titre">
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">
diff --git a/tp/t/results/init_files_tests/modified_translation.pl 
b/tp/t/results/init_files_tests/modified_translation.pl
index a22c56afd6..4dfb03ac2b 100644
--- a/tp/t/results/init_files_tests/modified_translation.pl
+++ b/tp/t/results/init_files_tests/modified_translation.pl
@@ -258,10 +258,10 @@ $result_converted{'html'}->{'modified_translation'} = 
'<!DOCTYPE html>
 <!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<title>Document sans titre</title>
+<title>Untitled Document</title>
 
-<meta name="description" content="Document sans titre">
-<meta name="keywords" content="Document sans titre">
+<meta name="description" content="Untitled Document">
+<meta name="keywords" content="Untitled Document">
 <meta name="resource-type" content="document">
 <meta name="distribution" content="global">
 <meta name="viewport" content="width=device-width,initial-scale=1">



reply via email to

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