diff options
author | mb21 <mb21@users.noreply.github.com> | 2017-02-22 12:17:32 +0100 |
---|---|---|
committer | mb21 <mb21@users.noreply.github.com> | 2017-02-22 15:34:53 +0100 |
commit | b312ac6d2dd740f5c06dcf86d51c36f3d67dbe2f (patch) | |
tree | a76d3002f3e4070e9c54506640351f0619e7ee97 /src/Text/Pandoc/Writers | |
parent | c2e4ea10b39431f260e615c8fc1d23c72c835169 (diff) | |
download | pandoc-b312ac6d2dd740f5c06dcf86d51c36f3d67dbe2f.tar.gz |
make imageSize recognize basic SVG dimensions, see #3462
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r-- | src/Text/Pandoc/Writers/Docx.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index 56aa29211..f06efad23 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -1228,6 +1228,7 @@ inlineToOpenXML' opts (Image attr alt (src, title)) = do Just Gif -> ".gif" Just Pdf -> ".pdf" Just Eps -> ".eps" + Just Svg -> ".svg" Nothing -> "" if null imgext then -- without an extension there is no rule for content type |