From 9ad2a96babca1e646856b4335875b975f9bb7fa1 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Mon, 19 Sep 2011 10:12:52 +0200 Subject: Imported Upstream version 60.1 --- misc/goplay/goplay.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/goplay/goplay.go b/misc/goplay/goplay.go index bbc388ba4..a1eb61795 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 = ` @@ -256,7 +256,7 @@ function compileUpdate() {
- +
(Shift-Enter to compile and run.)     Compile and run after each keystroke -- cgit v1.2.3