fix #2752 sheet_to_csv skips first blank line with blankrows #2776

Open
sankhavaramsaitulasiram wants to merge 1 commits from sankhavaramsaitulasiram/feat-fix-2752 into master

@ -173,7 +173,11 @@ function sheet_add_aoa(_ws/*:?Worksheet*/, data/*:AOA*/, opts/*:?any*/)/*:Worksh
}
}
}
if(range.s.c < 10000000) ws['!ref'] = encode_range(range);
if (range.s.c < 10000000) {
if (range.s.c > _C) range.s.c = _C;
if (range.s.r > _R) range.s.r = _R;
ws['!ref'] = encode_range(range);
}
return ws;
}
function aoa_to_sheet(data/*:AOA*/, opts/*:?any*/)/*:Worksheet*/ { return sheet_add_aoa(null, data, opts); }