diff --git a/misc/dashboard/builder/main.go b/misc/dashboard/builder/main.go
index 1b00cf4737..6d8294271f 100644
--- a/misc/dashboard/builder/main.go
+++ b/misc/dashboard/builder/main.go
@@ -533,13 +533,13 @@ var logByHash = map[string]*HgLog{}
// xmlLogTemplate is a template to pass to Mercurial to make
// hg log print the log in valid XML for parsing with xml.Unmarshal.
const xmlLogTemplate = `
-
- {node|escape}
- {parent|escape}
- {author|escape}
- {date|rfc3339date}
- {desc|escape}
-
+
+ {node|escape}
+ {parent|escape}
+ {author|escape}
+ {date|rfc3339date}
+ {desc|escape}
+
`
// commitPoll pulls any new revisions from the hg server
@@ -587,7 +587,7 @@ func commitPoll(key, pkg string) {
var logStruct struct {
Log []HgLog
}
- err = xml.Unmarshal(strings.NewReader(""+data+""), &logStruct)
+ err = xml.Unmarshal(strings.NewReader(""+data+""), &logStruct)
if err != nil {
log.Printf("unmarshal hg log: %v", err)
return