Commit 4a59be00 authored by David Symonds's avatar David Symonds

html/template: fix typo and make grammar consistent in comments.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/5866044
parent c5488d4f
...@@ -26,10 +26,10 @@ type ( ...@@ -26,10 +26,10 @@ type (
HTML string HTML string
// HTMLAttr encapsulates an HTML attribute from a trusted source, // HTMLAttr encapsulates an HTML attribute from a trusted source,
// for example: ` dir="ltr"`. // for example, ` dir="ltr"`.
HTMLAttr string HTMLAttr string
// JS encapsulates a known safe EcmaScript5 Expression, or example, // JS encapsulates a known safe EcmaScript5 Expression, for example,
// `(x + y * z())`. // `(x + y * z())`.
// Template authors are responsible for ensuring that typed expressions // Template authors are responsible for ensuring that typed expressions
// do not break the intended precedence and that there is no // do not break the intended precedence and that there is no
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment