]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / MathExtern.cpp
index a473259ba0b0707fc65f5db8d0f68cdf952011f9..5c182c719fc98be3af8edc13e9d30bcdce45fe4c 100644 (file)
@@ -1591,7 +1591,7 @@ void mathmlize(MathData const & dat, MathMLStream & ms)
        MathData ar = dat;
        extractStructure(ar, MATHML);
        if (ar.empty())
-               ms << "<" << from_ascii(ms.namespacedTag("mrow")) << "/>";
+               ms << CTag("mrow");
        else if (ar.size() == 1)
                ms << ar.front();
        else {