From 53e872455ac715abe7b2e7c4464d5419683d24c7 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 31 Jul 2020 09:18:37 +0200 Subject: [PATCH] Revert "Fix #11827" This reverts commit b521d36bfbedce9f89b48510409c32860f99559d. Not ready yet --- src/mathed/InsetMathColor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) << '}'; } -- 2.39.2