void InsetMathBox::mathmlize(MathStream & ms) const
{
- SetMode textmode(ms, true, from_ascii("class='mathbox'"));
+ SetMode textmode(ms, true, "class='mathbox'");
ms << cell(0);
}
void InsetMathFBox::mathmlize(MathStream & ms) const
{
- SetMode textmode(ms, true, from_ascii("class='fbox'"));
+ SetMode textmode(ms, true, "class='fbox'");
ms << cell(0);
}
{
// FIXME We could do something with the other arguments.
std::string const cssclass = framebox_ ? "framebox" : "makebox";
- SetMode textmode(ms, true, from_ascii("class='" + cssclass + "'"));
+ SetMode textmode(ms, true, "class='" + cssclass + "'");
ms << cell(2);
}
void InsetMathBoxed::mathmlize(MathStream & ms) const
{
- SetMode mathmode(ms, false, from_ascii("class='boxed'"));
+ SetMode mathmode(ms, false, "class='boxed'");
ms << cell(0);
}