]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathXArrow.cpp
Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1...
[lyx.git] / src / mathed / InsetMathXArrow.cpp
index 30cce8a8eb14bc4b95f58b085822acd2e6f98b71..2ea3b71b5015f0c13730b3ffa806cb449c83d726 100644 (file)
@@ -88,7 +88,7 @@ void InsetMathXArrow::normalize(NormalStream & os) const
 void InsetMathXArrow::mathmlize(MathStream & ms) const
 {
        char const * arrow;
-       
+
        if (name_ == "xleftarrow")
                arrow = "←";
        else if (name_ == "xrightarrow")
@@ -123,9 +123,9 @@ void InsetMathXArrow::mathmlize(MathStream & ms) const
                lyxerr << "mathmlize conversion for '" << name_ << "' not implemented" << endl;
                LASSERT(false, arrow = "&rarr;");
        }
-       ms << "<munderover accent='false' accentunder='false'>"
+       ms << "<" << from_ascii(ms.namespacedTag("munderover")) << " accent='false' accentunder='false'>"
           << arrow << cell(1) << cell(0)
-          << "</munderover>";
+          << "</" << from_ascii(ms.namespacedTag("munderover"))<< ">";
 }