Fix MathML export for < and > special characters.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32033 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-11-15 21:45:21 +00:00
parent 96948b808d
commit 216f9156dc

View File

@ -168,9 +168,9 @@ void InsetMathChar::octave(OctaveStream & os) const
void InsetMathChar::mathmlize(MathStream & ms) const
{
switch (char_) {
case '<': ms << "<mo>&lt;</mo>"; break;
case '>': ms << "<mo>&gt;</mo>"; break;
case '&': ms << "<mo>&amp;</mo>"; break;
case '<': ms << "<mo>&lt;</mo>"; return;
case '>': ms << "<mo>&gt;</mo>"; return;
case '&': ms << "<mo>&amp;</mo>"; return;
default: break;
}