diff options
author | Andrew Gerrand <adg@golang.org> | 2011-09-13 14:43:18 +1000 |
---|---|---|
committer | Andrew Gerrand <adg@golang.org> | 2011-09-13 14:43:18 +1000 |
commit | 728eb925034a4dc052566c16169a1875debd6212 (patch) | |
tree | a7f3aa067a5cdd617c672c1cbd0294c539dd1205 | |
parent | 50026d415ba7df7b3116b4020b9f0e584b123461 (diff) | |
download | go-728eb925034a4dc052566c16169a1875debd6212.tar.gz go-728eb925034a4dc052566c16169a1875debd6212.zip |
[release-branch.r60] misc/goplay: Fix template output
««« CL 4960052 / da491846e511
misc/goplay: Fix template output
Fixes #2219.
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/4960052
»»»
R=dsymonds
CC=golang-dev
https://golang.org/cl/4960067
-rw-r--r-- | misc/goplay/goplay.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/goplay/goplay.go b/misc/goplay/goplay.go index bbc388ba4c..7f4c45376f 100644 --- a/misc/goplay/goplay.go +++ b/misc/goplay/goplay.go @@ -256,7 +256,7 @@ function compileUpdate() { </head> <body> <table width="100%"><tr><td width="60%" valign="top"> -<textarea autofocus="true" id="edit" spellcheck="false" onkeydown="keyHandler(event);" onkeyup="autocompile();">{{html .}}</textarea> +<textarea autofocus="true" id="edit" spellcheck="false" onkeydown="keyHandler(event);" onkeyup="autocompile();">{{printf "%s" . |html}}</textarea> <div class="hints"> (Shift-Enter to compile and run.) <input type="checkbox" id="autocompile" value="checked" /> Compile and run after each keystroke |