Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix multiline string with quote char #101

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

darichey
Copy link
Contributor

Summary & Motivation

The fix seems too simple, but I think it was just a typo! 😅

  • If " is encountered in a non-multiline string, the unescaping is done, and we should break.
  • If " is encountered in a multiline string, just push it to the output and keep going.

Further context

Fixes #69

@oberblastmeister oberblastmeister merged commit f4f6bc1 into nix-community:master Jul 27, 2022
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.

StrPart parser unescapes double-single-quote strings containing double quotes incorrectly
2 participants