diff --git a/development/HTML/HTML.notes b/development/HTML/HTML.notes
index 26447ae68e..c126862184 100644
--- a/development/HTML/HTML.notes
+++ b/development/HTML/HTML.notes
@@ -54,13 +54,13 @@ Math
isues, and not all the insets work. Here are the ones I know still need work:
- AMSArray
- Array
+ - Box: There is a general issue here with text mode nesting. See the FIXME attached
+ to the SetMode class.
- Cases
- Diff: Code exists, but I do not know if it is right.
- Binom (in Frac): None of these tags exist in MathML 2.0. We'll
just output a fraction with delimiters.
- Lefteqn
- - MBox: There is a general issue here with text mode nesting. See the FIXME attached
- to the SetMode class.
- Overset: Use .
- Par?
- Phantom: There is some support for this in MathML....
diff --git a/src/mathed/InsetMathMBox.cpp b/src/mathed/InsetMathMBox.cpp
index cea14a23b9..0210bc4b80 100644
--- a/src/mathed/InsetMathMBox.cpp
+++ b/src/mathed/InsetMathMBox.cpp
@@ -118,4 +118,10 @@ void InsetMathMBox::cursorPos(BufferView const & bv,
}
+void InsetMathMBox::mathmlize(MathStream & ms) const
+{
+ SetMode textmode(ms, true, from_ascii("class='mbox'"));
+ ms << cell(0);
+}
+
} // namespace lyx
diff --git a/src/mathed/InsetMathMBox.h b/src/mathed/InsetMathMBox.h
index e393f908ff..1e5654e940 100644
--- a/src/mathed/InsetMathMBox.h
+++ b/src/mathed/InsetMathMBox.h
@@ -48,6 +48,8 @@ public:
///
int latex(odocstream & os, OutputParams const & runparams) const;
///
+ void mathmlize(MathStream &) const;
+ ///
Text * getText(int) const;
///
void cursorPos(BufferView const & bv, CursorSlice const & sl,