aboutsummaryrefslogtreecommitdiff
path: root/src/html/template/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/template/html.go')
-rw-r--r--src/html/template/html.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/html/template/html.go b/src/html/template/html.go
index d3359cac0a..356b8298ae 100644
--- a/src/html/template/html.go
+++ b/src/html/template/html.go
@@ -240,8 +240,7 @@ func htmlNameFilter(args ...interface{}) string {
}
s = strings.ToLower(s)
if t := attrType(s); t != contentTypePlain {
- // TODO: Split attr and element name part filters so we can allowlist
- // attributes.
+ // TODO: Split attr and element name part filters so we can recognize known attributes.
return filterFailsafe
}
for _, r := range s {