Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
31442a67
Commit
31442a67
authored
Jul 29, 2011
by
Kyle Lemons
Committed by
Russ Cox
Jul 29, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xml: Header: fix close tag and newline
R=rsc CC=golang-dev
https://golang.org/cl/4830043
parent
2d7ddfa6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
marshal.go
src/pkg/xml/marshal.go
+4
-4
No files found.
src/pkg/xml/marshal.go
View file @
31442a67
...
@@ -14,10 +14,10 @@ import (
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment