FS option skip PRN parse [ci skip]

This commit is contained in:
Louis Jackson-Rees 2021-11-09 04:45:31 +00:00
parent ef21e2bea2
commit 9e9e4bcb45

View File

@ -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);