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

[BUG] Failed to parse the value when it is in a new line #14

Open
nareshdevasani opened this issue Oct 17, 2022 · 2 comments
Open

[BUG] Failed to parse the value when it is in a new line #14

nareshdevasani opened this issue Oct 17, 2022 · 2 comments

Comments

@nareshdevasani
Copy link

Problem:

Failed to read the value from the given section and option. It gives empty.

Input:

[section]
option1 = value1
option2 = value2
option3 =
    value3

For the above example parser.Get("section", "option3") returns empty value.

Expected:

For the above example parser.Get("section", "option3") must return value3.

@bigkevmcd
Copy link
Owner

I've had a look at this, and it's non-trivial to fix, and I don't use this any more, it was written a long time ago :-)

I'd be open to a PR that fixed it tho'

@emar-kar
Copy link

@nareshdevasani can you please check your use case with the new version?

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

No branches or pull requests

3 participants