Fix encoding wb.WBProps.CodeName

This commit is contained in:
Mitkalev Aleksandr 2020-07-27 15:46:17 +03:00
parent 4fcb49b4d8
commit 41cc307e2d
5 changed files with 5 additions and 5 deletions

@ -37,7 +37,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ {
default: wb.WBProps[w[0]] = y[w[0]];
}
});
if(y.codeName) wb.WBProps.CodeName = y.codeName;
if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
break;
case '</workbookPr>': break;

@ -15140,7 +15140,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ {
default: wb.WBProps[w[0]] = y[w[0]];
}
});
if(y.codeName) wb.WBProps.CodeName = y.codeName;
if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
break;
case '</workbookPr>': break;

2
xlsx.js generated

@ -15037,7 +15037,7 @@ function parse_wb_xml(data, opts) {
default: wb.WBProps[w[0]] = y[w[0]];
}
});
if(y.codeName) wb.WBProps.CodeName = y.codeName;
if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
break;
case '</workbookPr>': break;

@ -8153,7 +8153,7 @@ function parse_wb_xml(data, opts)/*:WorkbookFile*/ {
default: wb.WBProps[w[0]] = y[w[0]];
}
});
if(y.codeName) wb.WBProps.CodeName = y.codeName;
if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
break;
case '</workbookPr>': break;

@ -8062,7 +8062,7 @@ function parse_wb_xml(data, opts) {
default: wb.WBProps[w[0]] = y[w[0]];
}
});
if(y.codeName) wb.WBProps.CodeName = y.codeName;
if(y.codeName) wb.WBProps.CodeName = utf8read(y.codeName);
break;
case '</workbookPr>': break;