]> git.lyx.org Git - features.git/commitdiff
Fix external function output for MathML.
authorRichard Heck <rgheck@comcast.net>
Sat, 14 Nov 2009 19:41:22 +0000 (19:41 +0000)
committerRichard Heck <rgheck@comcast.net>
Sat, 14 Nov 2009 19:41:22 +0000 (19:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31986 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathExFunc.cpp

index 3398e9049addec135e74611d96ed394d5c492e40..5b79f60fa3e677e0bb9a24f3074a71b0c07b2373 100644 (file)
@@ -124,9 +124,7 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
 
 void InsetMathExFunc::mathmlize(MathStream & os) const
 {
-       ++os.tab(); os.cr(); os.os() << '<' << name_ << '>';
-       os << cell(0);
-       os.cr(); --os.tab(); os.os() << "</" << name_ << '>';
+       os.os() << "<mi>" << name_ << "</mi>" << "&af;" << cell(0);
 }