LyXHTML: remove the double specification of charset.

The choice of content-type is arbitrary.
This commit is contained in:
Thibaut Cuvelier 2023-01-07 03:34:58 +01:00
parent cabb12ba51
commit fd2078f3aa

View File

@ -2255,7 +2255,6 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os,
<< "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"" << from_ascii(htmlCode) << "\">\n" << "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"" << from_ascii(htmlCode) << "\">\n"
<< "<head>\n" << "<head>\n"
<< "<meta name=\"GENERATOR\" content=\"" << PACKAGE_STRING << "\" />\n" << "<meta name=\"GENERATOR\" content=\"" << PACKAGE_STRING << "\" />\n"
<< "<meta charset=\"UTF-8\" />\n"
// FIXME Presumably need to set this right // FIXME Presumably need to set this right
<< "<meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" />\n"; << "<meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" />\n";