summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/HTML.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-06-01 18:59:21 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-06-01 18:59:21 +0200
commit0f07404daf08156fac655f0ff907a6126c639450 (patch)
tree1916a8c99d5ef5ec65da8983017e7b9cb7c1415a /src/Text/Pandoc/Readers/HTML.hs
parent8218bdb95c070b2c09f51ae29c280260fc47dffb (diff)
HTML reader: Removed "button" from block tag list.
It is already in the eitherBlockOrInlineTag list, and should be both places. Closes #3717. Note: the result of this change is that there will be p tags around the whole paragraph. That is the right result, because the `button` tags are treated as inline HTML here, and the whole chunk of text is a Markdown paragraph.
Diffstat (limited to 'src/Text/Pandoc/Readers/HTML.hs')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index 23af6171e..095382ae0 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -886,7 +886,7 @@ inlineHtmlTags = ["a", "abbr", "acronym", "b", "basefont", "bdo", "big",
blockHtmlTags :: [String]
blockHtmlTags = ["?xml", "!DOCTYPE", "address", "article", "aside",
- "blockquote", "body", "button", "canvas",
+ "blockquote", "body", "canvas",
"caption", "center", "col", "colgroup", "dd", "details",
"dir", "div",
"dl", "dt", "fieldset", "figcaption", "figure",