aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Symonds <dsymonds@golang.org>2012-03-21 10:10:44 +1100
committerDavid Symonds <dsymonds@golang.org>2012-03-21 10:10:44 +1100
commit4a59be00917f2da069f272053d70a8563f717b22 (patch)
treefcd6b7d3b59dac6d99471190a964d6f6774070b2
parentc5488d4f004e9f38e5fb996dd709a73aed03cd00 (diff)
downloadgo-4a59be00917f2da069f272053d70a8563f717b22.tar.gz
go-4a59be00917f2da069f272053d70a8563f717b22.zip
html/template: fix typo and make grammar consistent in comments.
R=golang-dev, r CC=golang-dev https://golang.org/cl/5866044
-rw-r--r--src/pkg/html/template/content.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/html/template/content.go b/src/pkg/html/template/content.go
index 539664f972..c1bd2e4949 100644
--- a/src/pkg/html/template/content.go
+++ b/src/pkg/html/template/content.go
@@ -26,10 +26,10 @@ type (
HTML string
// HTMLAttr encapsulates an HTML attribute from a trusted source,
- // for example: ` dir="ltr"`.
+ // for example, ` dir="ltr"`.
HTMLAttr string
- // JS encapsulates a known safe EcmaScript5 Expression, or example,
+ // JS encapsulates a known safe EcmaScript5 Expression, for example,
// `(x + y * z())`.
// Template authors are responsible for ensuring that typed expressions
// do not break the intended precedence and that there is no