While testing imagemagick 7 (more on that later) I stumbled upon bug 10124
as well. It is a simple typo where LyX outputs /<mo> instead of </mo>. OK
for 2.2.0?
Georg
diff --git a/src/mathed/MathMacro.cpp b/src/mathed/MathMacro.cpp
index e01f7c2..9fe6e15 100644
--- a/src/mathed/MathMacro.cpp
+++ b/src/mathed/MathMacro.cpp
@@ -1008,7 +1008,7 @@ void MathMacro::mathmlize(MathStream & os) const
docstring const xmlname = d->macro_->xmlname();
if (!xmlname.empty()) {
char const * type = d->macro_->MathMLtype();
- os << '<' << type << "> " << xmlname << " /<"
+ os << '<' << type << "> " << xmlname << " </"
<< type << '>';
return;
}