Fix string character reference to work with IE7. Resolves issue #624.

This commit is contained in:
Davide P. Cervone 2014-02-15 17:49:16 -05:00
parent 2927bbfc34
commit a5f09d01f6

View File

@ -66,7 +66,7 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
}, },
CD_arrow: function (name) { CD_arrow: function (name) {
var c = this.string[this.i]; var c = this.string.charAt(this.i);
if (!c.match(/[><VA.|=]/)) {return this.Other(name)} else {this.i++} if (!c.match(/[><VA.|=]/)) {return this.Other(name)} else {this.i++}
var top = this.stack.Top(); var top = this.stack.Top();