git.iko.soy/typeable/pandoc
on master help sign in
Added "head" to list of HTML block-level tags.

Resolves Issue #108. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1645 788f1e2b-df1e-0410-8736-df70ead52e1b

commit94841b7602f3465cdb7a452989975d08e43fc694 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSat 5 Dec 2009, 04:47 (17 years ago) parentef7692d
2 files changed+4−1
changelog+3 src/Text/Pandoc/Readers/HTML.hs+1−1
changelog+3
@@ -49,6 +49,9 @@ pandoc (1.3)
4949 RST, but used in Sphinx for code blocks annotated with syntax
5050 information. Thanks to Luke Plant for the patch.
5151
52+ * Added "head" to list of block-level HTML tags. Resolves
53+ Issue #108.
54+
5255 * Set utf-8 encoding in texinfo headers.
5356
5457 * Properly handle commented-out list items in markdown.
src/Text/Pandoc/Readers/HTML.hs+1−1
@@ -77,7 +77,7 @@ inlineHtmlTags = ["a", "abbr", "acronym", "b", "basefont", "bdo", "big",
7777blockHtmlTags :: [[Char]]
7878blockHtmlTags = ["address", "blockquote", "body", "center", "dir", "div",
7979 "dl", "fieldset", "form", "h1", "h2", "h3", "h4",
80− "h5", "h6", "hr", "html", "isindex", "menu", "noframes",
80+ "h5", "h6", "head", "hr", "html", "isindex", "menu", "noframes",
8181 "noscript", "ol", "p", "pre", "table", "ul", "dd",
8282 "dt", "frameset", "li", "tbody", "td", "tfoot",
8383 "th", "thead", "tr", "script"] ++ eitherBlockOrInline