Remove unnecessary escape sequence.

This commit is contained in:
Franco Montenegro 2022-10-17 11:51:23 -03:00
parent e94e5e6bf6
commit c40c382d90

View file

@ -35,7 +35,7 @@ const parseCsv = (data, filters = []) => {
// Apply filters // Apply filters
Object.entries(item).forEach(([key, value]) => { Object.entries(item).forEach(([key, value]) => {
if (!filters.includes(key)) { if (!filters.includes(key)) {
const sanitizedValue = '"' + String(value).replaceAll('"', '\\"') + '"'; const sanitizedValue = '"' + value + '"';
row.push(sanitizedValue); row.push(sanitizedValue);
} }
}); });