bug-texinfo
[Top][All Lists]
Advanced

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

[PATCH] Remove encoding warning in Firefox


From: Mathieu Lirzin
Subject: [PATCH] Remove encoding warning in Firefox
Date: Tue, 22 Aug 2017 18:07:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

When opening a manual generated with makeinfo in Firefox 55, there is a
warning telling that the encoding of the HTML document has not been
found in the first 1024 bytes of the file.  The following patch fixes
the issue:

Index: tp/Texinfo/Convert/HTML.pm
===================================================================
--- tp/Texinfo/Convert/HTML.pm  (revision 7934)
+++ tp/Texinfo/Convert/HTML.pm  (working copy)
@@ -6330,11 +6330,11 @@
 <head>
 <title>$title</title>
 
+$encoding
 $description
 <meta name=\"keywords\" content=\"$title\">
 <meta name=\"resource-type\" content=\"document\">
 <meta name=\"distribution\" content=\"global\">${generator}$date
-$encoding
 ${links}$css_lines
 $extra_head
 </head>
Are you OK if I commit this change?

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37

reply via email to

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