Add some HTML5

This commit is contained in:
moshee 2012-10-21 21:28:31 -07:00
parent 8a86b6d6be
commit e69cdde766

View File

@ -98,6 +98,20 @@ var blockTags = map[string]bool{
"fieldset": true, "fieldset": true,
"noscript": true, "noscript": true,
"blockquote": true, "blockquote": true,
// HTML5
"video": true,
"aside": true,
"canvas": true,
"figure": true,
"footer": true,
"header": true,
"hgroup": true,
"output": true,
"article": true,
"section": true,
"progress": true,
"figcaption": true,
} }
// Renderer is the rendering interface. // Renderer is the rendering interface.