aboutsummaryrefslogtreecommitdiff
path: root/src/html/template
diff options
context:
space:
mode:
authorAndrew Gerrand <adg@golang.org>2015-01-21 13:33:37 +1100
committerAndrew Gerrand <adg@golang.org>2015-01-21 04:13:06 +0000
commit746dec575c3e86dc8d70d887d3180052bea49b2d (patch)
tree891fcc3272d2f6604fe7723a168f59e2d6730c05 /src/html/template
parent2dfa4f4eb0522b2e4c59a2f8677613fe50f2b078 (diff)
downloadgo-746dec575c3e86dc8d70d887d3180052bea49b2d.tar.xz
html/template: fix example code
Fixes #9651 Change-Id: I987833b6263482a402e58fcd9eeb0e42401599b5 Reviewed-on: https://go-review.googlesource.com/3073 Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'src/html/template')
-rw-r--r--src/html/template/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/doc.go b/src/html/template/doc.go
index d422ada37a..1827403aa3 100644
--- a/src/html/template/doc.go
+++ b/src/html/template/doc.go
@@ -151,7 +151,7 @@ The template
can be invoked with
- tmpl.Execute(out, HTML(`<b>World</b>`))
+ tmpl.Execute(out, template.HTML(`<b>World</b>`))
to produce