Merge branch 'issue906' into develop. Issue #906.

This commit is contained in:
Davide P. Cervone 2014-09-14 09:18:56 -04:00
commit 3ee58a18a5

View File

@ -1473,7 +1473,7 @@
if (!MML[type] || !MML[type].prototype.isToken)
{TEX.Error(["NotMathMLToken","%1 is not a token element",type])}
while (attr !== "") {
match = attr.match(/^([a-z]+)\s*=\s*(\'[^']*'|"[^"]*"|[^ ]*)\s*/i);
match = attr.match(/^([a-z]+)\s*=\s*('[^']*'|"[^"]*"|[^ ,]*)\s*,?\s*/i);
if (!match)
{TEX.Error(["InvalidMathMLAttr","Invalid MathML attribute: %1",attr])}
if (!MML[type].prototype.defaults[match[1]] && !this.MmlTokenAllow[match[1]]) {