gregnb / gregnb/mui-datatables

Download CSV option not properly removing line breaks from string

Open
#450 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.7k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

When users download CSV, fields with \r OR \n line breaks are not properly escaped, causing the CSV dataset to be messed up.

## Expected Behavior

CSV fields should properly account for line breaks within strings.

## Current Behavior

CSV fields are not accounting for line breaks, forcing a new line whenever a \r OR \n is seen.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.