From 740805fdb17aa53fb3cf936e706eacf7f1607545 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Mon, 5 Sep 2011 15:03:41 +1000 Subject: [PATCH] misc/goplay: another template fix Fixes #2219. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4950063 --- misc/goplay/goplay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/goplay/goplay.go b/misc/goplay/goplay.go index 7f4c45376f8..a1eb61795fe 100644 --- a/misc/goplay/goplay.go +++ b/misc/goplay/goplay.go @@ -145,7 +145,7 @@ func run(cmd ...string) ([]byte, os.Error) { var frontPage = template.Must(template.New("frontPage").Parse(frontPageText)) // HTML template var output = template.Must(template.New("output").Parse(outputText)) // HTML template -var outputText = `
{{html .}}
` +var outputText = `
{{printf "%s" . |html}}
` var frontPageText = `