]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathDecoration.cpp
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / mathed / InsetMathDecoration.cpp
index cc4ba162796b8adaf48782f7bc9ec5cb4986749a..a5d616eed300512518b9557319e6fc23913b3403 100644 (file)
@@ -246,7 +246,7 @@ void InsetMathDecoration::mathmlize(MathMLStream & ms) const
        char const * const outag = cur->second.over ? "mover" : "munder";
        std::string decoration = ms.xmlMode() ? cur->second.entity : cur->second.tag;
        ms << MTag(outag)
-          << MTag("mrow") << cell(0) << ETag("mrow")
+          << cell(0)
           << "<" << from_ascii(ms.namespacedTag("mo")) << " stretchy=\"true\">"
           << from_ascii(decoration)
           << "</" << from_ascii(ms.namespacedTag("mo")) << ">"