Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/pkg/xml/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