[LyX/2.3.x] Revert "Fix #11827"
Juergen Spitzmueller
spitz at lyx.org
Fri Jul 31 06:53:07 UTC 2020
commit 777bf805e2bd56dbf8f32c61b23700a4b0be25ff
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Fri Jul 31 09:17:34 2020 +0200
Revert "Fix #11827"
Not ready yet.
This reverts commit 3a544072a522845b192594dd2ab11fcb1fc80eeb.
---
src/mathed/InsetMathColor.cpp | 2 +-
status.23x | 2 --
2 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/mathed/InsetMathColor.cpp b/src/mathed/InsetMathColor.cpp
index 2d6eb2d..d665734 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) << '}';
}
diff --git a/status.23x b/status.23x
index 354311a..080634f 100644
--- a/status.23x
+++ b/status.23x
@@ -51,8 +51,6 @@ What's new
- 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
More information about the lyx-cvs
mailing list