AllenFang / AllenFang/react-bootstrap-table

Export CSV feature doesn't correctly escape " characters appearing in the contents of the cell

Aberta
#1,839 1 comentário 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
2.2k
Forks
761
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

From [RFC-4180](https://tools.ietf.org/html/rfc4180): "If double-quotes are used to enclose fields, then a double-quote appearing inside a field must be escaped by preceding it with another double quote."

However, if i have data 75" x 25" in the cell of the table, it currently exports as "75" x 25"" in the CSV which is incorrect. It should be "75"" x 25"""

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.