html: add main and keygen as special element
Also, the isindex element has been remove from specification,
so this commit adds a comment about it.
Change-Id: I79a9b1eb9dae8274e2ca498ab73b2e73521d54e9
Reviewed-on: https://go-review.googlesource.com/64230
Reviewed-by: Tom Bergan <tombergan@google.com>
Run-TryBot: Tom Bergan <tombergan@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
diff --git a/html/const.go b/html/const.go
index 52f651f..b37e621 100644
--- a/html/const.go
+++ b/html/const.go
@@ -52,10 +52,12 @@
"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,