commit ca80d7df20b7c804286009015f72dc73fd6c8956
parent b043b3af319121ce1e6b401d2d2f5f93192b800c
Author: Davide P. Cervone <dpvc@union.edu>
Date: Fri, 14 Feb 2014 08:28:59 -0500
Merge branch 'issue623' into develop. Issue #623.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -1135,7 +1135,7 @@ MathJax.Localization = {
var result = [], match, last = 0;
regex.lastIndex = 0;
while (match = regex.exec(string)) {
- result.push(string.substr(last,match.index));
+ result.push(string.substr(last,match.index-last));
result.push.apply(result,match.slice(1));
last = match.index + match[0].length;
}