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

Do not fail on blank lines with whitespace only #23

Closed
homiak opened this issue Jul 28, 2017 · 3 comments
Closed

Do not fail on blank lines with whitespace only #23

homiak opened this issue Jul 28, 2017 · 3 comments
Milestone

Comments

@homiak
Copy link

homiak commented Jul 28, 2017

It's pretty easy to leave a single tab on a line after editing a large properties file.
I think the parser should simply ignore such a line instead of failing.

@magiconair
Copy link
Owner

Sorry for the late reply. This fell through the vacation crack.

The parser does indeed not ignore a blank line with only whitespace.

magiconair added a commit that referenced this issue Oct 31, 2017
This patch changes the parser so that it will ignore blank lines
which contain only whitespace.

Fixes #23
@magiconair magiconair added this to the 1.7.4 milestone Oct 31, 2017
@magiconair magiconair changed the title Could be more fault tolerant e.g. - do not fail on a single tab in properties file Do not fail on blank lines with whitespace only Oct 31, 2017
@magiconair
Copy link
Owner

Thanks for reporting this @homiak

@homiak
Copy link
Author

homiak commented Oct 31, 2017

Thank you! @magiconair

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

2 participants