Revert "Fix #11827"

Not ready yet.

This reverts commit 3a544072a5.
This commit is contained in:
Juergen Spitzmueller 2020-07-31 09:17:34 +02:00
parent 3a544072a5
commit 777bf805e2
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -51,8 +51,6 @@ What's new
- Fix output of titles in branches and other insets (follow-up to bug 11787). - Fix output of titles in branches and other insets (follow-up to bug 11787).
- Fix spacing in math when using color (bug 11827).
* USER INTERFACE * USER INTERFACE