diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-20 07:45:14 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-20 07:45:14 -0700 |
commit | f6dfacf9d67d25efad539c3c242a63815ae4f6c7 (patch) | |
tree | 143a8d902c150e7d605ab7fa4c1234d45f1d50d2 /src/Text/Pandoc/Readers | |
parent | 311d4c9dfcf61e6e0bd9fdf8ff351d8900bc9a58 (diff) | |
download | pandoc-f6dfacf9d67d25efad539c3c242a63815ae4f6c7.tar.gz |
Add "summary" to list of block-level HTML tags.
Closes #6385. (The summary element needs to be the first
child of details and should not be enclosed by p tags.)
NOTE: you need to include a blank line before the closing
`</details>`, if you want the last part of the content to
be parsed as a paragraph.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/HTML.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index f85b24d3f..3f6e0a1af 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -1067,7 +1067,7 @@ blockHtmlTags = Set.fromList "h5", "h6", "head", "header", "hgroup", "hr", "html", "isindex", "main", "menu", "meta", "noframes", "nav", "ol", "output", "p", "pre", - "section", "table", "tbody", "textarea", + "section", "summary", "table", "tbody", "textarea", "thead", "tfoot", "ul", "dd", "dt", "frameset", "li", "tbody", "td", "tfoot", "th", "thead", "tr", "script", "style"] |