From f6dfacf9d67d25efad539c3c242a63815ae4f6c7 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 20 May 2020 07:45:14 -0700 Subject: 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 ``, if you want the last part of the content to be parsed as a paragraph. --- src/Text/Pandoc/Readers/HTML.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Readers/HTML.hs') 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"] -- cgit v1.2.3