]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.cpp
tex2lyx/text.cpp: fix typos
[lyx.git] / src / mathed / InsetMathXArrow.cpp
index 31c9c0c5d89fe8e469396c96b983292c5e8d0e04..44799bac2fed2f8ff9277ec1c0d8d55913e7585a 100644 (file)
@@ -102,11 +102,10 @@ void InsetMathXArrow::validate(LaTeXFeatures & features) const
        features.require("amsmath");
        if (features.runparams().math_flavor == OutputParams::MathAsHTML)
                // CSS adapted from eLyXer
-               features.addPreambleSnippet("<style type=\"text/css\">\n"
+               features.addCSSSnippet(
                        "span.xarrow{display: inline-block; vertical-align: middle; text-align:center;}\n"
                        "span.xatop{display: block;}\n"
-                       "span.xabottom{display: block;}\n"
-                       "</style>");
+                       "span.xabottom{display: block;}");
        InsetMathNest::validate(features);
 }