]> git.lyx.org Git - features.git/commitdiff
LyXHTML: remove the double specification of charset.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 7 Jan 2023 02:34:58 +0000 (03:34 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 7 Jan 2023 02:36:57 +0000 (03:36 +0100)
The choice of content-type is arbitrary.

src/Buffer.cpp

index 8b95a4612a7bf25e6785ec1882df7755fee36aa6..1404cd4ba8a99914f9f0bb682639a3ccfb8e38bb 100644 (file)
@@ -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";