mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
LyXHTML: remove meta content-type, it is only for HTML5, not XHTML5 (LyX is generating XML-compatible HTML, i.e. XHTML5).
This commit is contained in:
parent
fb70f89983
commit
861af2b84f
@ -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>"
|
||||
|
Loading…
Reference in New Issue
Block a user