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

Library can't parse multiline values properly #117

Closed
x1unix opened this issue Sep 9, 2020 · 3 comments · Fixed by #156
Closed

Library can't parse multiline values properly #117

x1unix opened this issue Sep 9, 2020 · 3 comments · Fixed by #156

Comments

@x1unix
Copy link
Contributor

x1unix commented Sep 9, 2020

Library doesn't parse multi-line variable values properly.

Input:

URLS="foo
bar"

Expected:

map[string]string{
  "URLS": "foo\nbar",
}

Got:

map[string]string{
  "URLS": "foo",
  "bar",
}
@x1unix
Copy link
Contributor Author

x1unix commented Sep 9, 2020

@joho I'm already working on fix, but this requires a major rewrite of parser implementation

@x1unix
Copy link
Contributor Author

x1unix commented Sep 10, 2020

@joho added PR with issue fix - #118.

Please take a look

@joho
Copy link
Owner

joho commented Nov 8, 2020

Duplicate of #64

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 a pull request may close this issue.

2 participants