]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathExtern.cpp
Use convertDelimToXMLEscape with matrix delimiters, too.
[lyx.git] / src / mathed / MathExtern.cpp
index f3df8c884e93129b66dca1ab6ca1244d6e2f8e7b..b3443fa919a5d096bff0b44636b54e9f921903c2 100644 (file)
@@ -1106,7 +1106,7 @@ namespace {
                if (tmp.size() < 2)
                        return MathData();
 
-               out = subst(tmp[1], "\\>", string());
+               out = subst(subst(tmp[1], "\\>", string()), "{\\it ", "\\mathit{");
                lyxerr << "output: '" << out << "'" << endl;
 
                // Ugly code that tries to make the result prettier