git.iko.soy/typeable/pandoc
on master help sign in
recognize svg tag in HTML Reader

avoids adding lots of `<p>` tags in embedded SVG content, for instance in markdown to HTML.

commit01fed75b8f755bf4de3d4ec2b720e4dd9e66951a authorMinRK <benjaminrk@gmail.com> dateThu 7 Nov 2013, 22:25 (13 years ago) parent2efd095
1 file changed+1−1
src/Text/Pandoc/Readers/HTML.hs+1−1
src/Text/Pandoc/Readers/HTML.hs+1−1
@@ -557,7 +557,7 @@ blockHtmlTags = ["address", "article", "aside", "blockquote", "body", "button",
557557 "noframes", "noscript", "object", "ol", "output", "p", "pre", "progress",
558558 "section", "table", "tbody", "textarea", "thead", "tfoot", "ul", "dd",
559559 "dt", "frameset", "li", "tbody", "td", "tfoot",
560− "th", "thead", "tr", "script", "style", "video"]
560+ "th", "thead", "tr", "script", "style", "svg", "video"]
561561
562562-- We want to allow raw docbook in markdown documents, so we
563563-- include docbook block tags here too.