Skip to content

Commit

Permalink
Add h2-h6 to the list of block html tags
Browse files Browse the repository at this point in the history
  • Loading branch information
zudov committed Sep 17, 2016
1 parent 91bb21b commit 56f0300
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions commonmark-parser/src/Text/Commonmark/Parser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,9 @@ isBlockHtmlTag name = T.toLower name `Set.member` Set.fromList
[ "address", "article", "aside", "base", "basefont", "blockquote"
, "body", "caption", "center", "col", "colgroup", "dd", "details"
, "dialog", "dir", "div", "dl", "dt", "fieldset", "figcaption"
, "figure", "footer", "form", "frame", "frameset", "h1", "head"
, "header", "hr", "html", "iframe", "legend", "li", "link", "main"
, "figure", "footer", "form", "frame", "frameset"
, "h1", "h2", "h3", "h4", "h5", "h6", "head", "header"
, "hr", "html", "iframe", "legend", "li", "link", "main"
, "menu", "menuitem", "meta", "nav", "noframes", "ol", "optgroup"
, "option", "p", "param", "section", "source", "summary", "table"
, "tbody", "td", "tfoot", "th", "thead", "title", "tr", "track", "ul"
Expand Down

0 comments on commit 56f0300

Please sign in to comment.