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:
MinRK
2013-11-07 22:25:44 -08:00
parent 2efd0951d3
commit 01fed75b8f
+1 -1
View File
@@ -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.