diff --git a/src/mathed/InsetMathExFunc.cpp b/src/mathed/InsetMathExFunc.cpp
index 25c8dcbaf9..61b3a43f16 100644
--- a/src/mathed/InsetMathExFunc.cpp
+++ b/src/mathed/InsetMathExFunc.cpp
@@ -122,13 +122,6 @@ void InsetMathExFunc::mathematica(MathematicaStream & os) const
}
-void InsetMathExFunc::mathmlize(MathStream & os) const
-{
- os << "" << name_ << "⁡";
- os << cell(0);
-}
-
-
void InsetMathExFunc::octave(OctaveStream & os) const
{
os << name_ << '(' << cell(0) << ')';
diff --git a/src/mathed/InsetMathExFunc.h b/src/mathed/InsetMathExFunc.h
index fb6dda8b36..24e23d71b8 100644
--- a/src/mathed/InsetMathExFunc.h
+++ b/src/mathed/InsetMathExFunc.h
@@ -43,8 +43,6 @@ public:
///
void mathematica(MathematicaStream &) const;
///
- void mathmlize(MathStream &) const;
- ///
void octave(OctaveStream &) const;
///
InsetCode lyxCode() const { return MATH_EXFUNC_CODE; }
diff --git a/src/mathed/MathExtern.cpp b/src/mathed/MathExtern.cpp
index f394183965..a8fd9a173d 100644
--- a/src/mathed/MathExtern.cpp
+++ b/src/mathed/MathExtern.cpp
@@ -957,8 +957,8 @@ void extractStructure(MathData & ar, ExternalMath kind)
extractSums(ar);
extractNumbers(ar);
extractMatrices(ar);
- extractFunctions(ar, kind);
if (kind != MATHML && kind != HTML) {
+ extractFunctions(ar, kind);
extractDets(ar);
extractDiff(ar);
extractExps(ar);