mirror of
https://github.com/golang/go
synced 2024-11-24 16:10:10 -07:00
misc/goplay: Fix template output
Fixes #2219. R=golang-dev, r CC=golang-dev https://golang.org/cl/4960052
This commit is contained in:
parent
c5670f1548
commit
8ede0a67a2
@ -256,7 +256,7 @@ function compileUpdate() {
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<table width="100%"><tr><td width="60%" valign="top">
|
<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">
|
<div class="hints">
|
||||||
(Shift-Enter to compile and run.)
|
(Shift-Enter to compile and run.)
|
||||||
<input type="checkbox" id="autocompile" value="checked" /> Compile and run after each keystroke
|
<input type="checkbox" id="autocompile" value="checked" /> Compile and run after each keystroke
|
||||||
|
Loading…
Reference in New Issue
Block a user