Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make base, keygen, source leaf elements

Closes #78
  • Loading branch information...
commit 5a67309469d95e6659392756f84926b6592d9e8f 1 parent 6ab3357
@jaspervdj authored
Showing with 7 additions and 6 deletions.
  1. +1 −1  blaze-html.cabal
  2. +6 −5 src/Util/GenerateHtmlCombinators.hs
View
2  blaze-html.cabal
@@ -1,5 +1,5 @@
Name: blaze-html
-Version: 0.5.1.3
+Version: 0.6.0.0
Homepage: http://jaspervdj.be/blaze
Bug-Reports: http://github.com/jaspervdj/blaze-html/issues
License: BSD3
View
11 src/Util/GenerateHtmlCombinators.hs
@@ -401,22 +401,23 @@ html5 = HtmlVariant
{ version = ["Html5"]
, docType = ["<!DOCTYPE HTML>"]
, parents =
- [ "a", "abbr", "address", "article", "aside", "audio", "b", "base"
+ [ "a", "abbr", "address", "article", "aside", "audio", "b"
, "bdo", "blockquote", "body", "button", "canvas", "caption", "cite"
, "code", "colgroup", "command", "datalist", "dd", "del", "details"
, "dfn", "div", "dl", "dt", "em", "fieldset", "figcaption", "figure"
, "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header"
- , "hgroup", "html", "i", "iframe", "ins", "keygen", "kbd", "label"
+ , "hgroup", "html", "i", "iframe", "ins", "kbd", "label"
, "legend", "li", "map", "mark", "menu", "meter", "nav", "noscript"
, "object", "ol", "optgroup", "option", "output", "p", "pre", "progress"
, "q", "rp", "rt", "ruby", "samp", "script", "section", "select"
- , "small", "source", "span", "strong", "style", "sub", "summary", "sup"
+ , "small", "span", "strong", "style", "sub", "summary", "sup"
, "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time"
, "title", "tr", "ul", "var", "video"
]
, leafs =
- [ "area", "br", "col", "embed", "hr", "img", "input", "meta", "link"
- , "param"
+ -- http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#void-elements
+ [ "area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
+ , "link", "menuitem", "meta", "param", "source", "track", "wbr"
]
, attributes =
[ "accept", "accept-charset", "accesskey", "action", "alt", "async"
Please sign in to comment.
Something went wrong with that request. Please try again.