]> git.lyx.org Git - features.git/commitdiff
This doesn't seem to be compiled even, but oh well.
authorRichard Heck <rgheck@comcast.net>
Wed, 31 Mar 2010 19:01:15 +0000 (19:01 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 31 Mar 2010 19:01:15 +0000 (19:01 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33972 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathMBox.cpp
src/mathed/InsetMathMBox.h

index 0210bc4b804a9209ac7c15b6812715ee50605a42..bf27b8d102050d395e7409ac37da080f911c2a29 100644 (file)
@@ -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);
 }
 
index 1e5654e9401bcbdc814ecbc027cd4bd180ba9896..eca4fcbfaa108ef6e73d182ff7c769dd2bcc93ea 100644 (file)
@@ -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,