#include "InsetMathDelim.h"
#include "MathData.h"
+#include "MathExtern.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "MetricsInfo.h"
}
-void InsetMathDelim::mathmlize(MathStream & os) const
+docstring InsetMathDelim::mathmlize(MathStream & os) const
{
- os << "<fenced open=\"" << left_ << "\" close=\""
- << right_ << "\">" << cell(0) << "</fenced>";
+ os << "<mo form='prefix' fence='true' stretchy='true' symmetric='true'>" << left_ << "</mo>";
+ docstring const rv = lyx::mathmlize(cell(0),os);
+ os << "<mo form='postfix' fence='true' stretchy='true' symmetric='true'>" << right_ << "</mo>";
+ return rv;
}