You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When loading an ini with multiple sections with the last section as "UnparsableSection" and this last section is empty then the Section is not marked as rawBody and therefore can not be used to write raw data to.
It works well when at least one line of data is in the section.
Describe the bug
When loading an ini with multiple sections with the last section as "UnparsableSection" and this last section is empty then the Section is not marked as rawBody and therefore can not be used to write raw data to.
It works well when at least one line of data is in the section.
To Reproduce
Loading:
tmpIni, err := ini.LoadSources(ini.LoadOptions{ UnparseableSections: []string{"customData"}, }, *c.IniFileName)
INI-file:
[customData]
Same code but with at least one line in the section:
Expected behavior
Every section marked with UnparseableSections should be a "rawBody" section. Even if it is empty
Screenshots
See above
The text was updated successfully, but these errors were encountered: