[LyX/master] Similar fixes as 946ba7781c179752e450e98a0c356372323100a6

Thibaut Cuvelier tcuvelier at lyx.org
Sun Dec 5 17:27:02 UTC 2021


commit 115ff2fa3c55ff18da3792b8129990c80dbdc1ed
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date:   Sun Dec 5 18:54:05 2021 +0100

    Similar fixes as 946ba7781c179752e450e98a0c356372323100a6
---
 src/mathed/InsetMathBig.cpp        |    2 +-
 src/mathed/InsetMathBoldSymbol.cpp |    2 +-
 src/mathed/InsetMathDelim.cpp      |    4 +---
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/mathed/InsetMathBig.cpp b/src/mathed/InsetMathBig.cpp
index 180af9b..0ddb6c8 100644
--- a/src/mathed/InsetMathBig.cpp
+++ b/src/mathed/InsetMathBig.cpp
@@ -137,7 +137,7 @@ void InsetMathBig::normalize(NormalStream & os) const
 
 void InsetMathBig::mathmlize(MathMLStream & ms) const
 {
-	ms << MTagInline("mo", "fence='true' stretchy='true' symmetric='true'>")
+	ms << MTagInline("mo", "fence='true' stretchy='true' symmetric='true'")
 	   << convertDelimToXMLEscape(delim_, ms.xmlMode())
 	   << ETagInline("mo");
 }
diff --git a/src/mathed/InsetMathBoldSymbol.cpp b/src/mathed/InsetMathBoldSymbol.cpp
index a0651ea..4dd1871 100644
--- a/src/mathed/InsetMathBoldSymbol.cpp
+++ b/src/mathed/InsetMathBoldSymbol.cpp
@@ -109,7 +109,7 @@ void InsetMathBoldSymbol::write(TeXMathStream & os) const
 
 void InsetMathBoldSymbol::mathmlize(MathMLStream & ms) const
 {
-	ms << MTagInline("mstyle", "mathvariant='bold'>")
+	ms << MTagInline("mstyle", "mathvariant='bold'")
 	   << cell(0)
 	   << ETagInline("mstyle");
 }
diff --git a/src/mathed/InsetMathDelim.cpp b/src/mathed/InsetMathDelim.cpp
index f5efc43..cd4f8aa 100644
--- a/src/mathed/InsetMathDelim.cpp
+++ b/src/mathed/InsetMathDelim.cpp
@@ -185,10 +185,8 @@ void InsetMathDelim::mathmlize(MathMLStream & ms) const
 	   << MTagInline("mo", "form='prefix' fence='true' stretchy='true' symmetric='true'")
 	   << convertDelimToXMLEscape(left_, ms.xmlMode())
 	   << ETagInline("mo")
-	   << "\n"
 	   << cell(0)
-	   << "\n"
-	   << MTagInline("mo", "form='postfix' fence='true' stretchy='true' symmetric='true'>")
+	   << MTagInline("mo", "form='postfix' fence='true' stretchy='true' symmetric='true'")
 	   << convertDelimToXMLEscape(right_, ms.xmlMode())
 	   << ETagInline("mo")
 	   << ETag("mrow");


More information about the lyx-cvs mailing list