From: Simon McVittie Date: Fri, 6 May 2016 05:57:12 +0000 (+0100) Subject: img: Add back support for SVG images, bypassing ImageMagick and simply passing the... X-Git-Tag: 3.20160506~5 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/984ba82f1bea778de8d2b98593b470d651749d73?ds=sidebyside;hp=984ba82f1bea778de8d2b98593b470d651749d73 img: Add back support for SVG images, bypassing ImageMagick and simply passing the SVG through to the browser SVG scaling by img directives has subtly changed; where before size=wxh would preserve aspect ratio, this cannot be done when passing them through and so specifying both a width and height can change the SVG's aspect ratio. (This patch looks significantly more complex than it was, because a large block of code had to be indented.) [smcv: drop trailing whitespace, fix some spelling] ---