Skip to content

add \r to special chars #50

@bes-internal

Description

@bes-internal

As stated in helpers/check-special-chars-and-empty.js here used [\n"]+separator as chars to include in quote. But [\r] needs to be added.

ref https://www.rfc-editor.org/rfc/rfc4180.html:

The ABNF grammar [2] appears as follows:
file = [header CRLF] record *(CRLF record) [CRLF]
header = name *(COMMA name)
record = field *(COMMA field)
name = field
field = (escaped / non-escaped)
escaped = DQUOTE *(TEXTDATA / COMMA / CR / LF / 2DQUOTE) DQUOTE
non-escaped = *TEXTDATA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions