From 4084f0840126e7b271e651e2f3d955ea808c9645 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 12 Mar 2012 14:26:10 -0400 Subject: [PATCH] html/template: doc nit Execute's data is untrusted regardless of package. R=golang-dev, gri CC=golang-dev https://golang.org/cl/5797062 --- src/pkg/html/template/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/html/template/doc.go b/src/pkg/html/template/doc.go index 3699ea1a91c..f470facfd0c 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