]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathExFunc.cpp
typo
[lyx.git] / src / mathed / InsetMathExFunc.cpp
index 35e2f62bcbab25a67421f1a99b6ba0c0423492c2..c450cceb9718e793251876bea6bbfb61abb0aff4 100644 (file)
@@ -122,10 +122,21 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
 }
 
 
-void InsetMathExFunc::mathmlize(MathStream & os) const
+void InsetMathExFunc::mathmlize(MathMLStream & ms) const
 {
-       os << "<mi>" << name_ << "</mi><mo>&af;</mo>";
-       os << cell(0);
+       ms << MTagInline("mi")
+          << name_
+       << ETagInline("mi")
+          << MTagInline("mo")
+          << "&af;"
+          << ETagInline("mo")
+          << cell(0);
+}
+
+
+void InsetMathExFunc::htmlize(HtmlStream & os) const
+{
+       os << name_ << cell(0);
 }