forked from sheetjs/sheetjs
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ca62b33453 | |||
| 1782abbc39 |
@ -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];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user