Skip to content

Commit

Permalink
Update xml.go
Browse files Browse the repository at this point in the history
Add doc on latest patch.
  • Loading branch information
clbanning committed Jun 4, 2022
1 parent 39aa9a4 commit bafcbe1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xml.go
Expand Up @@ -1038,6 +1038,7 @@ func marshalMapToXmlIndent(doIndent bool, b *bytes.Buffer, key string, value int
if doIndent {
switch value.(type) {
case []interface{}, []string:
// list processing handles indentation for all elements
default:
if _, err = b.WriteString(p.padding); err != nil {
return err
Expand Down

0 comments on commit bafcbe1

Please sign in to comment.