]> git.lyx.org Git - features.git/commitdiff
LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generatin...
authorThibaut Cuvelier <tcuvelier@lyx.org>
Wed, 11 Jan 2023 00:12:22 +0000 (01:12 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Wed, 11 Jan 2023 00:12:22 +0000 (01:12 +0100)
src/Buffer.cpp

index 2e43a15ed25785b7b1ab489e1809ea41dc18c4fb..4d7adc3534bc4e1b41f6268605458f49e17d7ddc 100644 (file)
@@ -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>"