The removeUselessStrokeAndFill plugin had logic to disable itself if the SVG contained <style> elements or scripts. The optimizations also failed in some cases when the SVG contains animation elements. This PR adds animation elements to the list of things that disable the plugin.
The removeUselessStrokeAndFill plugin had logic to disable itself if the SVG contained
<style>
elements or scripts. The optimizations also failed in some cases when the SVG contains animation elements. This PR adds animation elements to the list of things that disable the plugin.Resolves #1677.