+void InsetMathSqrt::htmlize(HtmlStream & os) const
+{
+ os << MTag("span", "class='sqrt'")
+ << from_ascii("√")
+ << MTag("span", "class='sqrtof'") << cell(0) << ETag("span")
+ << ETag("span");
+}
+
+
+void InsetMathSqrt::validate(LaTeXFeatures & features) const
+{
+ if (features.runparams().math_flavor == OutputParams::MathAsHTML)
+ features.addCSSSnippet("span.sqrtof{border-top: thin solid black;}");
+ InsetMathNest::validate(features);
+}
+