-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stopped inlining st* classes? #1589
Comments
oops, my mistake. Closing! |
what was it? |
in the <style> there was 4 classes - st0, st1, st2 and st3. This svg uses only st0 - and it was correctly inlined. In previous versions, the unused classes were deleted, but now the unused classes are kept. It's a different behaviour, but it's not breaking anything! |
Actually minifyStyles should remove unused classes. Will take a look later. |
Hi, I've faced with the same issue with different svg image: https://gist.githubusercontent.com/mahnunchik/23066a318de2956df3c769c87e4e6cbd/raw/e0f246d0e26ce770f3c3adca748a5a454907f8bb/crypto-com-coin-cro-logo.svg
|
Describe the bug
SVGO is not inlining st[1-9] classes
To Reproduce
Steps to reproduce the behavior:
Expected behavior
st1, st2 and st3 classes should be inlined
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: