aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog3
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs2
2 files changed, 4 insertions, 1 deletions
diff --git a/changelog b/changelog
index 6795afb80..c3d46f782 100644
--- a/changelog
+++ b/changelog
@@ -49,6 +49,9 @@ pandoc (1.3)
RST, but used in Sphinx for code blocks annotated with syntax
information. Thanks to Luke Plant for the patch.
+ * Added "head" to list of block-level HTML tags. Resolves
+ Issue #108.
+
* Set utf-8 encoding in texinfo headers.
* Properly handle commented-out list items in markdown.
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index aef9e1962..a38450713 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -77,7 +77,7 @@ inlineHtmlTags = ["a", "abbr", "acronym", "b", "basefont", "bdo", "big",
blockHtmlTags :: [[Char]]
blockHtmlTags = ["address", "blockquote", "body", "center", "dir", "div",
"dl", "fieldset", "form", "h1", "h2", "h3", "h4",
- "h5", "h6", "hr", "html", "isindex", "menu", "noframes",
+ "h5", "h6", "head", "hr", "html", "isindex", "menu", "noframes",
"noscript", "ol", "p", "pre", "table", "ul", "dd",
"dt", "frameset", "li", "tbody", "td", "tfoot",
"th", "thead", "tr", "script"] ++ eitherBlockOrInline