mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
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:
parent
96948b808d
commit
216f9156dc
@ -168,9 +168,9 @@ void InsetMathChar::octave(OctaveStream & os) const
|
|||||||
void InsetMathChar::mathmlize(MathStream & ms) const
|
void InsetMathChar::mathmlize(MathStream & ms) const
|
||||||
{
|
{
|
||||||
switch (char_) {
|
switch (char_) {
|
||||||
case '<': ms << "<mo><</mo>"; break;
|
case '<': ms << "<mo><</mo>"; return;
|
||||||
case '>': ms << "<mo>></mo>"; break;
|
case '>': ms << "<mo>></mo>"; return;
|
||||||
case '&': ms << "<mo>&</mo>"; break;
|
case '&': ms << "<mo>&</mo>"; return;
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user