mirror of
https://github.com/golang/go
synced 2024-11-21 20:44:39 -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 (
|
const (
|
||||||
// A generic XML header suitable for use with the output of Marshal and MarshalIndent.
|
// A generic XML header suitable for use with the output of Marshal and
|
||||||
// This is not automatically added to any output of this package, it is provided as a
|
// MarshalIndent. This is not automatically added to any output of this
|
||||||
// convenience.
|
// package, it is provided as a convenience.
|
||||||
Header = `<?xml version="1.0" encoding="UTF-8">\n`
|
Header = `<?xml version="1.0" encoding="UTF-8"?>` + "\n"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A Marshaler can produce well-formatted XML representing its internal state.
|
// A Marshaler can produce well-formatted XML representing its internal state.
|
||||||
|
Loading…
Reference in New Issue
Block a user