aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/template/js.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/template/js.go b/src/html/template/js.go
index d911ada26d..d1463dee14 100644
--- a/src/html/template/js.go
+++ b/src/html/template/js.go
@@ -171,7 +171,7 @@ func jsValEscaper(args ...any) string {
// cyclic data. This may be an unacceptable DoS risk.
b, err := json.Marshal(a)
if err != nil {
- // While the standard JSON marshaller does not include user controlled
+ // While the standard JSON marshaler does not include user controlled
// information in the error message, if a type has a MarshalJSON method,
// the content of the error message is not guaranteed. Since we insert
// the error into the template, as part of a comment, we attempt to