forked from sheetjs/sheetjs
fix per project team email to parsing issue with empty doc security tag
This commit is contained in:
parent
257d4e6db2
commit
0ac53360b2
@ -76,7 +76,7 @@ function parse_ext_props(data, p, opts) {
|
||||
EXT_PROPS.forEach(function(f) {
|
||||
var xml = (data.match(matchtag(f[0]))||[])[1];
|
||||
switch(f[2]) {
|
||||
case "string": p[f[1]] = unescapexml(xml||""); break;
|
||||
case "string": if(xml) p[f[1]] = unescapexml(xml); break;
|
||||
case "bool": p[f[1]] = xml === "true"; break;
|
||||
case "raw":
|
||||
var cur = data.match(new RegExp("<" + f[0] + "[^>]*>([\\s\\S]*?)<\/" + f[0] + ">"));
|
||||
|
Loading…
Reference in New Issue
Block a user