]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetTabular.cpp
Add a document-wide default bibliography style \biblio_style.
[lyx.git] / src / insets / InsetTabular.cpp
index fa2d85ac4ec081b783b0a5925ef371a16184dbca..49a9fdcb8add9d13901da52ffbc5db3ace59640e 100644 (file)
@@ -4816,10 +4816,9 @@ void InsetTabular::validate(LaTeXFeatures & features) const
        // It'd be better to be able to get this from an InsetLayout, but at present
        // InsetLayouts do not seem really to work for things that aren't InsetTexts.
        if (features.runparams().flavor == OutputParams::HTML)
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
-      "table { border: 1px solid black; display: inline-block; }\n"
-      "td { border: 1px solid black; padding: 0.5ex; }\n"
-      "</style>");
+               features.addCSSSnippet(
+                       "table { border: 1px solid black; display: inline-block; }\n"
+                       "td { border: 1px solid black; padding: 0.5ex; }");
 }