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

When loading the ini file,, all the spaces in the value will be deleted #174

Closed
ChongYuanLi opened this issue Jun 5, 2024 · 1 comment
Closed

Comments

@ChongYuanLi
Copy link

When loading the ini file, if there are spaces in the value, all the spaces in the value will be deleted

@benhoyt
Copy link
Owner

benhoyt commented Jun 5, 2024

The whitespace at the start and end of the value will be removed, but not the spaces in the middle. For example, given:

[section]
key    =    This is the value.  

The value sent through with be This is the value. -- this is by design.

@benhoyt benhoyt closed this as completed Jun 5, 2024
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