[LyX/master] Added mrow to InsetMathCases::mathmlize

Thibaut Cuvelier tcuvelier at lyx.org
Wed Nov 13 19:10:38 UTC 2024


commit 4d4888aba83a708125bd469513fc303a5cd474cf
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Wed Nov 13 20:08:09 2024 +0100

    Added mrow to InsetMathCases::mathmlize
    
    Co-authored-by: Lorenzo Bertini <lorenzobertini97 at gmail.com>
---
 src/mathed/InsetMathCases.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mathed/InsetMathCases.cpp b/src/mathed/InsetMathCases.cpp
index 5cdb41691f..b97ffd42db 100644
--- a/src/mathed/InsetMathCases.cpp
+++ b/src/mathed/InsetMathCases.cpp
@@ -142,10 +142,12 @@ void InsetMathCases::maple(MapleStream & os) const
 
 void InsetMathCases::mathmlize(MathMLStream & ms) const
 {
-	ms << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'")
+	ms << MTag("mrow")
+	   << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'")
 	   << "{"
 	   << ETagInline("mo");
 	InsetMathGrid::mathmlize(ms);
+	ms << ETag("mrow");
 }
 
 


More information about the lyx-cvs mailing list