From 216f9156dcee2d00feacf73e21734ed892c36f27 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Sun, 15 Nov 2009 21:45:21 +0000 Subject: [PATCH] Fix MathML export for < and > special characters. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32033 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathChar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mathed/InsetMathChar.cpp b/src/mathed/InsetMathChar.cpp index d4df4c300c..fe8d43ed28 100644 --- a/src/mathed/InsetMathChar.cpp +++ b/src/mathed/InsetMathChar.cpp @@ -168,9 +168,9 @@ void InsetMathChar::octave(OctaveStream & os) const void InsetMathChar::mathmlize(MathStream & ms) const { switch (char_) { - case '<': ms << "<"; break; - case '>': ms << ">"; break; - case '&': ms << "&"; break; + case '<': ms << "<"; return; + case '>': ms << ">"; return; + case '&': ms << "&"; return; default: break; } -- 2.39.5