Skip to content

2.0.0

Compare
Choose a tag to compare
@jeffpaul jeffpaul released this 06 Apr 15:18
· 543 commits to trunk since this release
03e7bf5

Added

  • New filter, safe_svg_use_width_height_attributes, that can be used to change the order of attributes we use to determine the SVG dimensions (props @dkotter, @peterwilsoncc via #43).

Changed

Fixed

  • Use the viewBox attributes first for image dimensions. Ensure we don't use image dimensions that end with percent signs (props @dkotter, @peterwilsoncc via #43).
  • Make sure we use the full size SVG dimensions rather than the requested size, to avoid wrong sizes being used and duplicate height and width attributes (props @dkotter, @cadic via #44).
  • Ensure the tmp_name and name properties exist before we use them (props @dkotter, @aksld via #46).

New Contributors

Full Changelog: 1.9.10...2.0.0
View closed items in the milestone.