[LyX/master] LyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it.
Thibaut Cuvelier
tcuvelier at lyx.org
Sat Jan 7 02:01:54 UTC 2023
commit fb4a26577e9f1149e78bd500447ce061445bd708
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Sat Jan 7 03:42:11 2023 +0100
LyXHTML: don't explicitly mention that the style is CSS, HTML5 doesn't like it.
---
src/Buffer.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 1404cd4..3f66864 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -2316,7 +2316,7 @@ Buffer::ExportStatus Buffer::writeLyXHTMLSource(odocstream & os,
// we are here if the CSS is supposed to be written to the header
// or if we failed to write it to an external file.
if (!written) {
- os << "<style type='text/css'>\n"
+ os << "<style>\n"
<< dstyles
<< "\n</style>\n";
}
More information about the lyx-cvs
mailing list