Skip to content

Fix parsing of quotes followed by newlines.#304

Merged
dervus merged 1 commit intonodeca:masterfrom
dplepage:fix-quote-stripping
Oct 28, 2016
Merged

Fix parsing of quotes followed by newlines.#304
dervus merged 1 commit intonodeca:masterfrom
dplepage:fix-quote-stripping

Conversation

@dplepage
Copy link
Copy Markdown
Contributor

I believe this fixes #303.

The issue is that the loader was setting captureEnd incorrectly after absorbing a '' within a single-quoted string; captureEnd would be fixed by the next iteration of the loop on any character other than an end of line.

@dervus
Copy link
Copy Markdown
Collaborator

dervus commented Oct 28, 2016

Looks good. Thanks!

@dervus dervus merged commit 39c5f2c into nodeca:master Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Loader strips quotes before newlines

2 participants