commit f4be986816deea6520c9f4a8b94a61eb920d0723
parent 3ee58a18a5d938e07f99ca01ab7721046e7fb185
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 14 Sep 2014 09:19:48 -0400
Merge branch 'issue913' into develop. Issue #913.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js
@@ -1476,7 +1476,7 @@
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]]) {
+ if (MML[type].prototype.defaults[match[1]] == null && !this.MmlTokenAllow[match[1]]) {
TEX.Error(["UnknownAttrForElement",
"%1 is not a recognized attribute for %2",
match[1],type]);