commit 53e872455ac715abe7b2e7c4464d5419683d24c7
Author: Juergen Spitzmueller <[email protected]>
Date:   Fri Jul 31 09:18:37 2020 +0200

    Revert "Fix #11827"
    
    This reverts commit b521d36bfbedce9f89b48510409c32860f99559d.
    
    Not ready yet
---
 src/mathed/InsetMathColor.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 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) << '}';
 }
-- 
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to