Sort block tag list alphabetically

pull/217/head
Vytautas Šaltenis 2015-11-08 21:33:20 +02:00
parent 510be64de0
commit f1ce82cb01
1 changed files with 17 additions and 17 deletions

View File

@ -105,43 +105,43 @@ const (
// These are the tags that are recognized as HTML block tags.
// Any of these can be included in markdown text without special escaping.
var blockTags = map[string]bool{
"p": true,
"blockquote": true,
"del": true,
"div": true,
"dl": true,
"fieldset": true,
"form": true,
"h1": true,
"h2": true,
"h3": true,
"h4": true,
"h5": true,
"h6": true,
"ol": true,
"ul": true,
"del": true,
"div": true,
"ins": true,
"pre": true,
"form": true,
"math": true,
"table": true,
"iframe": true,
"ins": true,
"math": true,
"noscript": true,
"ol": true,
"pre": true,
"p": true,
"script": true,
"style": true,
"fieldset": true,
"noscript": true,
"blockquote": true,
"table": true,
"ul": true,
// HTML5
"video": true,
"article": true,
"aside": true,
"canvas": true,
"figcaption": true,
"figure": true,
"footer": true,
"header": true,
"hgroup": true,
"output": true,
"article": true,
"section": true,
"progress": true,
"figcaption": true,
"section": true,
"video": true,
}
// Renderer is the rendering interface.