[LyX/master] LyXHTML: use a lower-case meta for generator, this is the most common convention.

Thibaut Cuvelier tcuvelier at lyx.org
Sat Jan 7 14:26:51 UTC 2023


commit 6a3bd6403277c5a2fd7cc93f88f1ed7e7d492145
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sat Jan 7 16:24:57 2023 +0100

    LyXHTML: use a lower-case meta for generator, this is the most common convention.
---
 src/Buffer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 32d3e89..2e43a15 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -2254,7 +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"
+		   << "<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";
 


More information about the lyx-cvs mailing list