Relax the match criteria for MathML header line
commitf5916c4fbb6cd859b179b90489f2eb5b8da65e33
authorLixin Chin <lixinchin@gmail.com>
Tue, 29 Nov 2016 08:28:06 +0000 (29 09:28 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Tue, 29 Nov 2016 08:28:06 +0000 (29 09:28 +0100)
treedace744f6fea42167aaf3d8c9f787fe3cb0f9a7a
parent73694b21d7233c88bbd6e67eefaf8f4c321e4863
Relax the match criteria for MathML header line

* lisp/org.el (org-create-math-formula): Allow the xmlns attribute to
  be preceded by any other mathml header attribute.

The problem here was that the match criteria for MathML assumed that
the xmlns attribute is the first listed in the top level MathML <math>
element.  Some LaTeX -> MathML converters (e.g., pandoc) will add
attributes before xmlns, which is still valid MathML.
lisp/org.el