Le 22/07/2024 à 22:40, Enrico Forestieri a écrit :
diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp
index 199982a5f7..82d0b63f1e 100644
--- a/src/mathed/InsetMathChar.cpp
+++ b/src/mathed/InsetMathChar.cpp
@@ -248,7 +248,7 @@ void InsetMathChar::mathmlize(MathMLStream & ms)
const
if (ms.inText()) {
if (entity.empty())
- ms.os().put(char_);
+ ms << char_;
else
ms << from_ascii(entity);
return;
Note that this operator is like
MathMLStream & operator<<(MathMLStream & ms, char_type c)
{
- ms.os().put(c);
+ ms << docstring(1,c);
return ms;
}
Is it wrong? Is it better to use put() like it was?
JMarc
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel