Commit 31442a67 authored by Kyle Lemons's avatar Kyle Lemons Committed by Russ Cox

xml: Header: fix close tag and newline

R=rsc
CC=golang-dev
https://golang.org/cl/4830043
parent 2d7ddfa6
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment