void InsetMathSplit::write(WriteStream & ws) const
{
- bool brace = ensureMath(ws);
+ MathEnsurer ensurer(ws);
if (ws.fragile())
ws << "\\protect";
ws << "\\begin{" << name_ << '}';
if (ws.fragile())
ws << "\\protect";
ws << "\\end{" << name_ << "}\n";
- ws.pendingBrace(brace);
}