Compare commits

...

2 Commits

Author SHA1 Message Date
ca62b33453 XLSB defined name nit 2025-12-03 20:54:09 -05:00
1782abbc39 XLSX shared formula do not encode \r 2025-12-01 22:42:41 -05:00
2 changed files with 2 additions and 2 deletions

@ -485,7 +485,7 @@ function parse_XLUnicodeStringNoCch(blob, cch, opts) {
/* 2.5.294 XLUnicodeString */
function parse_XLUnicodeString(blob, length, opts) {
var cch = blob.read_shift(opts && opts.biff == 2 ? 1 : 2);
if(cch === 0) { blob.l++; return ""; }
if(cch === 0) { if(opts.biff <= 8) blob.l++; return ""; }
return parse_XLUnicodeStringNoCch(blob, cch, opts);
}
/* BIFF5 override */

@ -417,7 +417,7 @@ return function parse_ws_xml_data(sdata/*:string*/, s, opts, guess/*:Range*/, th
} else if(/*::cref != null && cref[0] != null && */cref[0].indexOf('t="shared"') > -1) {
// TODO: parse formula
ftag = parsexmltag(cref[0]);
var ___f = unescapexml(utf8read(cref[1]));
var ___f = unescapexml(utf8read(cref[1]), true);
if(!opts.xlfn) ___f = _xlfn(___f);
sharedf[parseInt(ftag.si, 10)] = [ftag, ___f, tag.r];
}