commit 3ee58a18a5d938e07f99ca01ab7721046e7fb185
parent ab9570b614cd736fef3c4b4604467f7fdc11b10c
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sun, 14 Sep 2014 09:18:56 -0400
Merge branch 'issue906' into develop. Issue #906.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/jax/input/TeX/jax.js b/unpacked/jax/input/TeX/jax.js
@@ -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]]) {