]> git.lyx.org Git - features.git/commitdiff
LyXHTML: fix the content-type attribute, it must be lower case (enforced for HTML5).
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 7 Jan 2023 02:33:48 +0000 (03:33 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 7 Jan 2023 02:33:48 +0000 (03:33 +0100)
src/Buffer.cpp

index 907026eb127c8fca018905f0b0e571016b1b6472..8b95a4612a7bf25e6785ec1882df7755fee36aa6 100644 (file)
@@ -2257,7 +2257,7 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os,
                   << "<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";
+                  << "<meta http-equiv=\"content-type\" content=\"text/html;charset=UTF-8\" />\n";
 
                docstring const & doctitle = features.htmlTitle();
                os << "<title>"