diff --git a/bits/67_wsxml.js b/bits/67_wsxml.js index d6faaa4..9164a20 100644 --- a/bits/67_wsxml.js +++ b/bits/67_wsxml.js @@ -172,7 +172,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess) { /* 18.3.1.4 c CT_Cell */ cells = x.substr(ri).split(cellregex); - for(ri = 1, cellen = cells.length; ri != cellen; ++ri) { + for(ri = 1; ri != cells.length; ++ri) { x = cells[ri].trim(); if(x.length === 0) continue; cref = x.match(rregex); idx = ri; i=0; cc=0; diff --git a/xlsx.js b/xlsx.js index d100a15..c7dc161 100644 --- a/xlsx.js +++ b/xlsx.js @@ -2958,7 +2958,7 @@ return function parse_ws_xml_data(sdata, s, opts, guess) { /* 18.3.1.4 c CT_Cell */ cells = x.substr(ri).split(cellregex); - for(ri = 1, cellen = cells.length; ri != cellen; ++ri) { + for(ri = 1; ri != cells.length; ++ri) { x = cells[ri].trim(); if(x.length === 0) continue; cref = x.match(rregex); idx = ri; i=0; cc=0;