Skip to content

reading-quoted-or-escaped doesn't check for leading spaces (as opposed to reading-quoted) #40

@Yehouda

Description

@Yehouda

The function reading-quoted-or-escaped, which was added by:
2101afa

Doesn't check if there are characters before the quote like reading-quoted does. That causes the test data-with-whitespace-trim to not get an error when it expects it, in the "whitespace before quoted values is a parse error if we are
not trimming " case.

As it is now it look to me like reading-quoted-or-escaped is doing the wrong thing, because the pre-quote space ends up in the quoted string.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions