symbol
are removed even when they're used in styles
#1726
Labels
symbol
are removed even when they're used in styles
#1726
Describe the bug
SVGO removes
symbol
s from the SVG even when they're used in styles.To Reproduce
With this SVG image: https://nicolas-hoizey.photo/ui/logo.svg
SVGO CLI with default configuration removes the
<symbol>
s, even if they're used in the styles, to make the logo responsive.It doesn't remove the
symbol
s with this configuration removing theinlineStyles
plugin:Expected behavior
symbol
s should be preserved, as they're useful in the image.Desktop (please complete the following information):
Additional context
I tried first to optimize my SVG in SVGOMG and got the issue, which I referenced here:
jakearchibald/svgomg#417
The text was updated successfully, but these errors were encountered: