]> Cypherpunks repositories - gostls13.git/commitdiff
html/template: fix typo and make grammar consistent in comments.
authorDavid Symonds <dsymonds@golang.org>
Tue, 20 Mar 2012 23:10:44 +0000 (10:10 +1100)
committerDavid Symonds <dsymonds@golang.org>
Tue, 20 Mar 2012 23:10:44 +0000 (10:10 +1100)
R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5866044

src/pkg/html/template/content.go

index 539664f9729a0dc6ac982d8e84bfa1e75624fac8..c1bd2e4949b4373458b31901dd401839a3757462 100644 (file)
@@ -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