mirror of
https://github.com/golang/go
synced 2024-11-24 20:00:10 -07:00
xml: Header: fix close tag and newline
R=rsc CC=golang-dev https://golang.org/cl/4830043
This commit is contained in:
parent
2d7ddfa64d
commit
31442a6737
@ -14,10 +14,10 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
// A generic XML header suitable for use with the output of Marshal and MarshalIndent.
|
||||
// This is not automatically added to any output of this package, it is provided as a
|
||||
// convenience.
|
||||
Header = `<?xml version="1.0" encoding="UTF-8">\n`
|
||||
// A generic XML header suitable for use with the output of Marshal and
|
||||
// MarshalIndent. This is not automatically added to any output of this
|
||||
// package, it is provided as a convenience.
|
||||
Header = `<?xml version="1.0" encoding="UTF-8"?>` + "\n"
|
||||
)
|
||||
|
||||
// A Marshaler can produce well-formatted XML representing its internal state.
|
||||
|
Loading…
Reference in New Issue
Block a user