mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 10:16:32 +00:00
recognize svg tag in HTML Reader
avoids adding lots of `<p>` tags in embedded SVG content, for instance in markdown to HTML.
This commit is contained in:
@@ -557,7 +557,7 @@ blockHtmlTags = ["address", "article", "aside", "blockquote", "body", "button",
|
||||
"noframes", "noscript", "object", "ol", "output", "p", "pre", "progress",
|
||||
"section", "table", "tbody", "textarea", "thead", "tfoot", "ul", "dd",
|
||||
"dt", "frameset", "li", "tbody", "td", "tfoot",
|
||||
"th", "thead", "tr", "script", "style", "video"]
|
||||
"th", "thead", "tr", "script", "style", "svg", "video"]
|
||||
|
||||
-- We want to allow raw docbook in markdown documents, so we
|
||||
-- include docbook block tags here too.
|
||||
|
||||
Reference in New Issue
Block a user