]> git.lyx.org Git - features.git/commitdiff
Complete fix for bug #7225.
authorRichard Heck <rgheck@comcast.net>
Wed, 12 Jan 2011 13:50:46 +0000 (13:50 +0000)
committerRichard Heck <rgheck@comcast.net>
Wed, 12 Jan 2011 13:50:46 +0000 (13:50 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37185 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index 5ef21f31b48b9939907f691d821ae50e248e6df1..38ea7cb77dbfca3fb513dd6d616f948494568f87 100644 (file)
@@ -2038,8 +2038,18 @@ docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const
 {
        BufferParams::MathOutput const mathtype = 
                buffer().params().html_math_output;
-       
+
        bool success = false;
+
+       // we output all the labels just at the beginning of the equation.
+       // this should be fine.
+       for (size_t i = 0; i != label_.size(); ++i) {
+               InsetLabel const * const il = label_[i];
+               if (!il)
+                       continue;
+               il->xhtml(xs, op);
+       }
+
        // FIXME Eventually we would like to do this inset by inset.
        if (mathtype == BufferParams::MathML) {
                odocstringstream os;