From: Juergen Spitzmueller Date: Fri, 31 Jul 2020 07:18:37 +0000 (+0200) Subject: Revert "Fix #11827" X-Git-Tag: lyx-2.4.0dev-acb2ca7b~518 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=53e872455ac715abe7b2e7c4464d5419683d24c7;hp=b0ec45b76790f20da6f4c5b220c9c7f748a2beac;p=features.git Revert "Fix #11827" This reverts commit b521d36bfbedce9f89b48510409c32860f99559d. Not ready yet --- diff --git a/src/mathed/InsetMathColor.cpp b/src/mathed/InsetMathColor.cpp index 2d6eb2dc9d..d665734b51 100644 --- a/src/mathed/InsetMathColor.cpp +++ b/src/mathed/InsetMathColor.cpp @@ -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) << '}'; }