summaryrefslogtreecommitdiffstats
path: root/libgo/go/html/template/js.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/template/js.go')
-rw-r--r--libgo/go/html/template/js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/html/template/js.go b/libgo/go/html/template/js.go
index 0e632df4220..a895a50aa90 100644
--- a/libgo/go/html/template/js.go
+++ b/libgo/go/html/template/js.go
@@ -154,7 +154,7 @@ func jsValEscaper(args ...interface{}) string {
a = fmt.Sprint(args...)
}
// TODO: detect cycles before calling Marshal which loops infinitely on
- // cyclic data. This may be an unnacceptable DoS risk.
+ // cyclic data. This may be an unacceptable DoS risk.
b, err := json.Marshal(a)
if err != nil {
OpenPOWER on IntegriCloud