Make embed tag either block or inline.

Closes #1756.
This commit is contained in:
John MacFarlane 2014-11-16 20:51:35 -08:00
parent 9e5a8de95a
commit 4aadcd51b5

View file

@ -740,7 +740,7 @@ pSpace = many1 (satisfy isSpace) >> return B.space
-- --
eitherBlockOrInline :: [String] eitherBlockOrInline :: [String]
eitherBlockOrInline = ["audio", "applet", "button", "iframe", eitherBlockOrInline = ["audio", "applet", "button", "iframe", "embed",
"del", "ins", "del", "ins",
"progress", "map", "area", "noscript", "script", "progress", "map", "area", "noscript", "script",
"object", "svg", "video", "source"] "object", "svg", "video", "source"]
@ -758,7 +758,7 @@ blockHtmlTags :: [String]
blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside", blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside",
"blockquote", "body", "button", "canvas", "blockquote", "body", "button", "canvas",
"caption", "center", "col", "colgroup", "dd", "dir", "div", "caption", "center", "col", "colgroup", "dd", "dir", "div",
"dl", "dt", "embed", "fieldset", "figcaption", "figure", "dl", "dt", "fieldset", "figcaption", "figure",
"footer", "form", "h1", "h2", "h3", "h4", "footer", "form", "h1", "h2", "h3", "h4",
"h5", "h6", "head", "header", "hgroup", "hr", "html", "h5", "h6", "head", "header", "hgroup", "hr", "html",
"isindex", "menu", "noframes", "ol", "output", "p", "pre", "isindex", "menu", "noframes", "ol", "output", "p", "pre",