diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp index 0210bc4b80..bf27b8d102 100644 --- a/src/mathed/InsetMathMBox.cpp +++ b/src/mathed/InsetMathMBox.cpp @@ -120,7 +120,13 @@ void InsetMathMBox::cursorPos(BufferView const & bv, void InsetMathMBox::mathmlize(MathStream & ms) const { - SetMode textmode(ms, true, from_ascii("class='mbox'")); + SetMode textmode(ms, true, "class='mbox'"); + ms << cell(0); +} + +void InsetMathMBox::htmlize(HtmlStream & ms) const +{ + SetHTMLMode textmode(ms, true, "class='mbox'"); ms << cell(0); } diff --git a/src/mathed/InsetMathMBox.h b/src/mathed/InsetMathMBox.h index 1e5654e940..eca4fcbfaa 100644 --- a/src/mathed/InsetMathMBox.h +++ b/src/mathed/InsetMathMBox.h @@ -50,6 +50,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// Text * getText(int) const; /// void cursorPos(BufferView const & bv, CursorSlice const & sl,