From: Andrew Gerrand Date: Wed, 21 Jan 2015 02:33:37 +0000 (+1100) Subject: html/template: fix example code X-Git-Tag: go1.5beta1~2294 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=746dec575c3e86dc8d70d887d3180052bea49b2d;p=gostls13.git html/template: fix example code Fixes #9651 Change-Id: I987833b6263482a402e58fcd9eeb0e42401599b5 Reviewed-on: https://go-review.googlesource.com/3073 Reviewed-by: Robert Griesemer --- 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(`World`)) + tmpl.Execute(out, template.HTML(`World`)) to produce