From 31442a6737c98ba5297b348b87bc47edecf667c1 Mon Sep 17 00:00:00 2001 From: Kyle Lemons Date: Fri, 29 Jul 2011 14:09:07 -0400 Subject: [PATCH] xml: Header: fix close tag and newline R=rsc CC=golang-dev https://golang.org/cl/4830043 --- src/pkg/xml/marshal.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.