[LyX/master] LyXHTML: remove the double specification of charset.
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Jan 7 02:01:54 UTC 2023
commit fd2078f3aa55d61e68c1996c31b7ad3f63fea39a
Author: Thibaut Cuvelier <tcuvelier at 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";
More information about the lyx-cvs
mailing list