You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running svgo via a node script on an image that has a linearGradient it is being removed and the proper id doesn't appear to be used.
To Reproduce
I'm using the following in a snippet in a node script against the attached svg.
Describe the bug
When running svgo via a node script on an image that has a
linearGradient
it is being removed and the proper id doesn't appear to be used.To Reproduce
I'm using the following in a snippet in a node script against the attached svg.
Original SVG
Output:
Steps to reproduce the behavior:
optimize
function with the above config.linearGradient
is removed from the optimized SVG and the Id of the linearGradient use was not prefixed.Expected behavior
The SVG icons still renders as the original SVG.
Screenshots
Original:
Output:
Desktop (please complete the following information):
Additional context
I reformatted the Output for clarity, but the content is the same.
The text was updated successfully, but these errors were encountered: