aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-24 12:11:12 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-24 12:11:12 +0200
commit7174776c19476701933df83ce4f2689a967a1a0a (patch)
treef01f3b55215f6dd6bea70b82fbcbd90e472d0ac1
parentb847f65e846cb61dec1aefd90a5f28cef85d4ae0 (diff)
downloadpandoc-7174776c19476701933df83ce4f2689a967a1a0a.tar.gz
HTML reader: Add `details` tag to list of block tags.
Closes #3694.
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index 650454ae6..23af6171e 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -887,7 +887,8 @@ inlineHtmlTags = ["a", "abbr", "acronym", "b", "basefont", "bdo", "big",
blockHtmlTags :: [String]
blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside",
"blockquote", "body", "button", "canvas",
- "caption", "center", "col", "colgroup", "dd", "dir", "div",
+ "caption", "center", "col", "colgroup", "dd", "details",
+ "dir", "div",
"dl", "dt", "fieldset", "figcaption", "figure",
"footer", "form", "h1", "h2", "h3", "h4",
"h5", "h6", "head", "header", "hgroup", "hr", "html",