From: Kyle Lemons Date: Fri, 29 Jul 2011 18:09:07 +0000 (-0400) Subject: xml: Header: fix close tag and newline X-Git-Tag: weekly.2011-07-29~2 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=31442a6737c98ba5297b348b87bc47edecf667c1;p=gostls13.git xml: Header: fix close tag and newline R=rsc CC=golang-dev https://golang.org/cl/4830043 --- diff --git a/src/pkg/xml/marshal.go b/src/pkg/xml/marshal.go index 2ac03a91e2..f6e5bf5cdb 100644 --- a/src/pkg/xml/marshal.go +++ b/src/pkg/xml/marshal.go @@ -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 = `\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 = `` + "\n" ) // A Marshaler can produce well-formatted XML representing its internal state.