]> git.lyx.org Git - lyx.git/blobdiff - src/Buffer.cpp
Now we can restore the old (and better) behavior of descriptions.
[lyx.git] / src / Buffer.cpp
index f09a00248dd2756e723e70c0ff16ee5678583b9a..d8296e9795a5721e06dec63ab1f0656d794adcb7 100644 (file)
@@ -1377,7 +1377,11 @@ void Buffer::writeLyXHTMLSource(odocstream & os,
                // FIXME Get this during validation? What about other meta-data?
                os << "<title>TBA</title>\n";
 
-               docstring styleinfo = features.getTClassHTMLStyles();
+               os << features.getTClassHTMLPreamble();
+
+               os << '\n';
+
+               docstring const styleinfo = features.getTClassHTMLStyles();
                if (!styleinfo.empty()) {
                        os << "<style type='text/css'>\n";
                        os << styleinfo;