]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathStream.cpp
de.po
[lyx.git] / src / mathed / MathStream.cpp
index b2d01cfb688612637c0f27f16abad0cd2355353c..774e964a8dfb94caa968a1e7f23193aa12f9c4be 100644 (file)
@@ -708,6 +708,12 @@ docstring convertDelimToXMLEscape(docstring const & name)
                        return from_ascii(">");
                else
                        return name;
+       } else if (name.size() == 2 && name[0] == '\\') {
+               char_type const c = name[1];
+               if (c == '{')
+                       return from_ascii("{");
+               else if (c == '}')
+                       return from_ascii("}");
        }
        MathWordList const & words = mathedWordList();
        MathWordList::const_iterator it = words.find(name);