From 11bab77120010f205452e899c0d93d638638261a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 17 Dec 2019 10:24:53 -0800 Subject: HTML reader: Add "nav" to list of block-level tags. --- src/Text/Pandoc/Readers/HTML.hs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs index 1c2892d6a..9fd334e62 100644 --- a/src/Text/Pandoc/Readers/HTML.hs +++ b/src/Text/Pandoc/Readers/HTML.hs @@ -1039,7 +1039,8 @@ blockHtmlTags = Set.fromList "dir", "div", "dl", "dt", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", - "isindex", "main", "menu", "meta", "noframes", "ol", "output", "p", "pre", + "isindex", "main", "menu", "meta", "noframes", "nav", + "ol", "output", "p", "pre", "section", "table", "tbody", "textarea", "thead", "tfoot", "ul", "dd", "dt", "frameset", "li", "tbody", "td", "tfoot", -- cgit v1.2.3