]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.cpp
MathML: Convert HTML entities to XML entities.
[lyx.git] / src / mathed / InsetMathBig.cpp
index 5e89d4e79c720af3fe40c41bb64a8a58af9f30b0..aeb1ee5f8c1bd2013bf2b00a5272a267b3fafda8 100644 (file)
@@ -139,7 +139,7 @@ void InsetMathBig::mathmlize(MathStream & ms) const
 {
        ms << "<" << from_ascii(ms.namespacedTag("mo"))
           << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
-          << convertDelimToXMLEscape(delim_)
+          << convertDelimToXMLEscape(delim_, ms.xmlMode())
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
 }
 
@@ -154,7 +154,7 @@ void InsetMathBig::htmlize(HtmlStream & os) const
        default: name  = "big"; break;
        }
        os << MTag("span", "class='" + name + "symbol'")
-          << convertDelimToXMLEscape(delim_)
+          << convertDelimToXMLEscape(delim_, false)
           << ETag("span");
 }