Releases: 4wdmedia/svg-inliner
Releases · 4wdmedia/svg-inliner
Fixed testcases
Added getInstance method
- Added
SvgInliner::getInstance
method - Updated required PHP version to 7.4
Always set aria-hidden=true and role=img for SVGs
Allow to set additional attributes using the attributes option.
This release also increases the required PHP version to 7.2
Fixed doc comments for renderSVG.
This fixes phpstan errors in vierwd_base which depends on this package.
Updated duplicate ID Handling, do not add identifier to className
- Do not add identifier to className (this is done in 4wdmedia/vierwd_base@24c1b39)
- Check for duplicate IDs also if the same file is included twice
- Added support for linking to external SVGs with
<use>
-tags - Fixed checking for duplicate IDs
Preserve attributes of included SVG files
1.1.0 Fixed unit tests
Initial version
1.0.0 added test cases