summaryrefslogtreecommitdiff
path: root/libgo/go/html/template/html.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/template/html.go')
-rw-r--r--libgo/go/html/template/html.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/libgo/go/html/template/html.go b/libgo/go/html/template/html.go
index 13a0cd04360..356b8298ae3 100644
--- a/libgo/go/html/template/html.go
+++ b/libgo/go/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 whitelist
- // attributes.
+ // TODO: Split attr and element name part filters so we can recognize known attributes.
return filterFailsafe
}
for _, r := range s {