commit fd2078f3aa55d61e68c1996c31b7ad3f63fea39a
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Sat Jan 7 03:34:58 2023 +0100

    LyXHTML: remove the double specification of charset.
    
    The choice of content-type is arbitrary.
---
 src/Buffer.cpp |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 8b95a46..1404cd4 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -2255,7 +2255,6 @@ Buffer::ExportStatus 
Buffer::writeLyXHTMLSource(odocstream & os,
                   << "<html xmlns=\"http://www.w3.org/1999/xhtml\"; lang=\"" << 
from_ascii(htmlCode) << "\">\n"
                   << "<head>\n"
                   << "<meta name=\"GENERATOR\" content=\"" << PACKAGE_STRING 
<< "\" />\n"
-                  << "<meta charset=\"UTF-8\" />\n"
                   // FIXME Presumably need to set this right
                   << "<meta http-equiv=\"content-type\" 
content=\"text/html;charset=UTF-8\" />\n";
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to