summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/html/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/golang.org/x/net/html/const.go')
-rw-r--r--vendor/golang.org/x/net/html/const.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/golang.org/x/net/html/const.go b/vendor/golang.org/x/net/html/const.go
index 52f651ff6..b37e62124 100644
--- a/vendor/golang.org/x/net/html/const.go
+++ b/vendor/golang.org/x/net/html/const.go
@@ -52,10 +52,12 @@ var isSpecialElementMap = map[string]bool{
"iframe": true,
"img": true,
"input": true,
- "isindex": true,
+ "isindex": true, // The 'isindex' element has been removed, but keep it for backwards compatibility.
+ "keygen": true,
"li": true,
"link": true,
"listing": true,
+ "main": true,
"marquee": true,
"menu": true,
"meta": true,