From e69cdde766460888f4aa096d13e5b2812a8410c9 Mon Sep 17 00:00:00 2001 From: moshee Date: Sun, 21 Oct 2012 21:28:31 -0700 Subject: [PATCH] Add some HTML5 --- markdown.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/markdown.go b/markdown.go index 7d42a52..bb2232f 100644 --- a/markdown.go +++ b/markdown.go @@ -98,6 +98,20 @@ var blockTags = map[string]bool{ "fieldset": true, "noscript": 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.