Revert "Fix #11827"

This reverts commit b521d36bfbedce9f89b48510409c32860f99559d.

Not ready yet
This commit is contained in:
Juergen Spitzmueller 2020-07-31 09:18:37 +02:00
parent b0ec45b767
commit 53e872455a

View 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) << '}';
}