Merge branch 'issue906' into develop. Issue #906.
This commit is contained in:
commit
3ee58a18a5
|
@ -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]]) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user