mirror of
https://github.com/russross/blackfriday.git
synced 2024-03-22 13:40:34 +08:00
Add some HTML5
This commit is contained in:
parent
8a86b6d6be
commit
e69cdde766
14
markdown.go
14
markdown.go
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user