]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathRoot.cpp
Add support for stmaryrd.sty (bug #8434)
[lyx.git] / src / mathed / InsetMathRoot.cpp
index 4a78ab997521ba92cd2d3a719136cd9958be947b..38ffb18ff3cecb28134fd6537eab05bed40da1c4 100644 (file)
@@ -133,10 +133,9 @@ void InsetMathRoot::htmlize(HtmlStream & os) const
 void InsetMathRoot::validate(LaTeXFeatures & features) const
 {
        if (features.runparams().math_flavor == OutputParams::MathAsHTML)
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
+               features.addCSSSnippet(
                        "span.rootof{border-top: thin solid black;}\n"
-                       "span.root sup{font-size: 75%;}\n"
-                       "</style>");
+                       "span.root sup{font-size: 75%;}");
        InsetMathNest::validate(features);
 }