git.iko.soy/typeable/pandoc
on master help sign in
Make `embed` tag either block or inline.
4aadcd5John MacFarlane
src/Text/Pandoc/Readers/HTML.hs+2−2
@@ -740,7 +740,7 @@ pSpace = many1 (satisfy isSpace) >> return B.space
740--
740--
741
741
742eitherBlockOrInline :: [String]
742eitherBlockOrInline :: [String]
743−eitherBlockOrInline = ["audio", "applet", "button", "iframe",
743+eitherBlockOrInline = ["audio", "applet", "button", "iframe", "embed",
744 "del", "ins",
744 "del", "ins",
745 "progress", "map", "area", "noscript", "script",
745 "progress", "map", "area", "noscript", "script",
746 "object", "svg", "video", "source"]
746 "object", "svg", "video", "source"]
@@ -758,7 +758,7 @@ blockHtmlTags :: [String]
758blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside",
758blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside",
759 "blockquote", "body", "button", "canvas",
759 "blockquote", "body", "button", "canvas",
760 "caption", "center", "col", "colgroup", "dd", "dir", "div",
760 "caption", "center", "col", "colgroup", "dd", "dir", "div",
761− "dl", "dt", "embed", "fieldset", "figcaption", "figure",
761+ "dl", "dt", "fieldset", "figcaption", "figure",
762 "footer", "form", "h1", "h2", "h3", "h4",
762 "footer", "form", "h1", "h2", "h3", "h4",
763 "h5", "h6", "head", "header", "hgroup", "hr", "html",
763 "h5", "h6", "head", "header", "hgroup", "hr", "html",
764 "isindex", "menu", "noframes", "ol", "output", "p", "pre",
764 "isindex", "menu", "noframes", "ol", "output", "p", "pre",