summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorMinRK <benjaminrk@gmail.com>2013-11-07 22:25:44 -0800
committerMinRK <benjaminrk@gmail.com>2013-11-07 22:25:44 -0800
commit01fed75b8f755bf4de3d4ec2b720e4dd9e66951a (patch)
treee609475319f65b05be34697740ef89a58d62c220 /src/Text/Pandoc/Readers
parent2efd0951d3d560a159f92df4730e2cee26978698 (diff)
recognize svg tag in HTML Reader
avoids adding lots of `<p>` tags in embedded SVG content, for instance in markdown to HTML.
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/HTML.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/HTML.hs b/src/Text/Pandoc/Readers/HTML.hs
index 80279bf61..d691c9878 100644
--- a/src/Text/Pandoc/Readers/HTML.hs
+++ b/src/Text/Pandoc/Readers/HTML.hs
@@ -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.