-
-
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
convertStyleToAttrs removes color #1040
Comments
convertStyleToAttrs will be disabled by default in the next release |
@TrySound : Does "solved in master" mean, that the bug does not occur with default configuration, but might occur with different settings? Does it mean that features which are disabled by default are marginally maintained? |
Solved the problem with default configuration, right. I consider this plugin unsafe for now. Though removing it would be breaking change. Maybe it will come back later with more flexible architecture. |
I make workarounds for LibrsvgBugs, librsvg might be more buggy than svgo, so convertStyleToAttrs is usefull for me, even I know it is buggy. Maybe keep buggy features and declare in the Docs that they are buggy and not officially maintained, and hide them e.g. in |
Sure, if the problem will not be resolved I will add warning or something. |
Processing File:2016_Angola_and_DR_Congo_yellow_fever_outbreak.svg with default options removes the color of countries:
svgo -i Bug1040_Input2.svg.txt -o Bug1040_Output2.svg.txt --pretty --indent=1 --enable=convertStyleToAttrs
Input
Bug1040_Input2.svg.txt
Output
Bug1040_Output2.svg.txt
It seems to be a more complicated bug since editiong the file changes the Processiong of other parts.
Copyright
License: CC0
Author: Mikael Häggström
Details (and Source): https://commons.wikimedia.org/wiki/File:2016_Angola_and_DR_Congo_yellow_fever_outbreak.svg
The text was updated successfully, but these errors were encountered: