summaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/SelfContained.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Text/Pandoc/SelfContained.hs b/src/Text/Pandoc/SelfContained.hs
index 7a39edc22..54d49127a 100644
--- a/src/Text/Pandoc/SelfContained.hs
+++ b/src/Text/Pandoc/SelfContained.hs
@@ -160,9 +160,7 @@ convertTags (t@(TagOpen tagname as):ts)
case M.lookup hash svgmap of
Just (svgid, svgattrs) -> do
let attrs' = [(k,v) | (k,v) <- combineSvgAttrs svgattrs attrs
- , k /= "id"
- , k /= "width"
- , k /= "height"]
+ , k /= "id"]
return $ TagOpen "svg" attrs' :
TagOpen "use" [("href", "#" <> svgid),
("width", "100%"),