forked from sheetjs/sheetjs
FS option skip PRN parse [ci skip]
This commit is contained in:
parent
ef21e2bea2
commit
9e9e4bcb45
@ -926,6 +926,7 @@ var PRN = (function() {
|
||||
|
||||
function prn_to_sheet_str(str/*:string*/, opts)/*:Worksheet*/ {
|
||||
if(!(opts && opts.PRN)) return dsv_to_sheet_str(str, opts);
|
||||
if(opts.FS) 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);
|
||||
|
Loading…
Reference in New Issue
Block a user