commit 861af2b84f8e094a58f84112554e3f21ab78e05f
Author: Thibaut Cuvelier <tcuvel...@lyx.org>
Date:   Wed Jan 11 01:12:22 2023 +0100

    LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is 
generating XML-compatible HTML, i.e. XHTML5).
---
 src/Buffer.cpp |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 2e43a15..4d7adc3 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -2254,9 +2254,7 @@ Buffer::ExportStatus 
Buffer::writeLyXHTMLSource(odocstream & os,
                os << "<!DOCTYPE html>\n"
                   << "<html xmlns=\"http://www.w3.org/1999/xhtml\"; lang=\"" << 
from_ascii(htmlCode) << "\">\n"
                   << "<head>\n"
-                  << "<meta name=\"generator\" content=\"" << PACKAGE_STRING 
<< "\" />\n"
-                  // FIXME Presumably need to set this right
-                  << "<meta http-equiv=\"content-type\" content=\"text/html; 
charset=UTF-8\" />\n";
+                  << "<meta name=\"generator\" content=\"" << PACKAGE_STRING 
<< "\" />\n";
 
                docstring const & doctitle = features.htmlTitle();
                os << "<title>"
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to