using []string in a struct goes wrong if any of the strings contains a comma ',' #348
Open
1 task done
Labels
bug
Something isn't working
Version
go version go1.21.4 linux/amd64
Describe the bug
I have a struct:
This normally works fine with
ini.ReflectFrom
andini.Load
. However if one of the strings has a comma ',' it doesn't work correctly.To reproduce
Try a
.ini
file like this:Expected behavior
I expect it to quote commas on save and unquote them on load.
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: