}
-void InsetMathBig::mathmlize(MathStream & os) const
+void InsetMathBig::mathmlize(MathStream & ms) const
{
- os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>"
- << convertDelimToXMLEscape(delim_)
- << "</mo>";
+ ms << "<" << from_ascii(ms.namespacedTag("mo"))
+ << " form='prefix' fence='true' stretchy='true' symmetric='true'>"
+ << convertDelimToXMLEscape(delim_, ms.xmlMode())
+ << "</" << from_ascii(ms.namespacedTag("mo")) << ">";
}
default: name = "big"; break;
}
os << MTag("span", "class='" + name + "symbol'")
- << convertDelimToXMLEscape(delim_)
+ << convertDelimToXMLEscape(delim_, false)
<< ETag("span");
}