]> git.lyx.org Git - lyx.git/commitdiff
Revert "Fix #11827"
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 Jul 2020 07:18:37 +0000 (09:18 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 31 Jul 2020 07:18:37 +0000 (09:18 +0200)
This reverts commit b521d36bfbedce9f89b48510409c32860f99559d.

Not ready yet

src/mathed/InsetMathColor.cpp

index 2d6eb2dc9de1771beb13c71cbf2e846adc82b236..d665734b5182893b7a0da3a58e609bc59c79df12 100644 (file)
@@ -100,7 +100,7 @@ void InsetMathColor::write(WriteStream & os) const
                // reset to default color inside another color inset
                os << "{\\normalcolor " << cell(0) << '}';
        else if (oldstyle_)
-               os << "\\begingroup\\color{" << color_ << '}' << cell(0) << "\\endgroup ";
+               os << "{\\color{" << color_ << '}' << cell(0) << '}';
        else
                os << "\\textcolor{" << color_ << "}{" << cell(0) << '}';
 }