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 | a06f10841c67b8830228a93c216ec1e6ca884477 (patch) | |
tree | 78964217a698ce70afadba87b465ca71862b1306 | |
parent | 497edfc6e91f89e73bc3722728e036273913d235 (diff) | |
download | go-a06f10841c67b8830228a93c216ec1e6ca884477.tar.gz |
[release-branch.r60] misc/goplay: Fix template output
??? CL 4960052 / da491846e511
misc/goplay: Fix template output
Fixes issue 2219.
R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/4960052
???
R=dsymonds
CC=golang-dev
http://codereview.appspot.com/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 bbc388ba4..7f4c45376 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 |