fix: disabling PRN by default #1977

Closed
manthanbaranwal wants to merge 1 commits from bugfix/issue-1976 into master

1
xlsx.js generated
View File

@ -7626,6 +7626,7 @@ var PRN = (function() {
}
function prn_to_sheet_str(str, opts) {
if(!(opts && opts.PRN)) return dsv_to_sheet_str(str, opts);
if(str.slice(0,4) == "sep=") return dsv_to_sheet_str(str, opts);
if(str.indexOf("\t") >= 0 || str.indexOf(",") >= 0 || str.indexOf(";") >= 0) return dsv_to_sheet_str(str, opts);
return aoa_to_sheet(prn_to_aoa_str(str, opts), opts);