mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
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>
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user