From: Russ Cox Date: Mon, 12 Mar 2012 18:26:10 +0000 (-0400) Subject: html/template: doc nit X-Git-Tag: weekly.2012-03-13~40 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4084f0840126e7b271e651e2f3d955ea808c9645;p=gostls13.git html/template: doc nit Execute's data is untrusted regardless of package. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5797062 --- diff --git a/src/pkg/html/template/doc.go b/src/pkg/html/template/doc.go index 3699ea1a91..f470facfd0 100644 --- a/src/pkg/html/template/doc.go +++ b/src/pkg/html/template/doc.go @@ -29,7 +29,7 @@ can be safely embedded in an HTML document. The escaping is contextual, so actions can appear within JavaScript, CSS, and URI contexts. The security model used by this package assumes that template authors are -trusted, while text/template Execute's data parameter is not. More details are +trusted, while Execute's data parameter is not. More details are provided below. Example