mirror of
https://github.com/Luzifer/sii.git
synced 2024-12-20 16:11:17 +00:00
Fix: Strings need quotes
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
bb4917d737
commit
5a85cb3d3b
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ func genericMarshal(in interface{}) ([]byte, error) {
|
|||
|
||||
case reflect.String:
|
||||
for _, val := range valField.Interface().([]string) {
|
||||
values = append(values, val)
|
||||
values = append(values, fmt.Sprintf("%q", val))
|
||||
}
|
||||
buf.Write(encodeSliceValue(attributeName, values))
|
||||
|
||||
|
|
Loading…
Reference in a new issue