commit d2cf7edb0ff8820b3cc3bf6b1b465ddbe6922989
parent af7bfcf8c3388579571fab8c67113b4fb7e99c9f
Author: Davide P. Cervone <dpvc@union.edu>
Date: Thu, 9 Jul 2015 11:27:05 -0400
Merge branch 'issue1173' into develop. Issue #1173.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js
@@ -1202,7 +1202,7 @@ MathJax.Localization = {
function (string,regex) {
var result = [], match, last = 0;
regex.lastIndex = 0;
- while (match = regex.exec(string)) {
+ while ((match = regex.exec(string))) {
result.push(string.substr(last,match.index-last));
result.push.apply(result,match.slice(1));
last = match.index + match[0].length;