-
Notifications
You must be signed in to change notification settings - Fork 43
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
SVG dimensionAttributes boolean not being respected #51
Comments
Thanks for reporting, @mcraiganthony! I'll check that asap! |
@mcraiganthony I tested with both svg-sprite and gulp-svg-sprite and both behave correctly / as expected. Could you please double-check / confirm that you're using a configuration like this: var config = {
svg: {
dimensionAttributes: false
}
} I'm asking because the option used to be somewhere at |
@jkphl Yep. See my config below. I also deleted my node_modules and ran npm install just to make sure all dependencies were correct. I'll have a co-worker update to 1.3 and see if he gets the same results. Thanks! |
@jkphl My co-worker updated to 1.3 and sees the same results ... sprite symbols have width and height attributes. |
That's super strange. I didn't test with symbol mode, it was view mode IIRC, so I'll do that tomorrow and let you know. Thanks for helping! |
+1 on this -- will have to downgrade until fixed :-) |
No idea what the exact reason was (I suspect a change inside lodash with the handling of |
Yes, works perfectly :-) thanks! 👍 |
Thanks @jkphl! Much appreciated. |
@mcraiganthony @hesselberg Glad that it worked for you! :) |
When SVG dimensionAttributes boolean is set to false the generated sprite still has height and width attributes on the symbols.
xmlDeclaration and doctypeDeclaration work as expected.
I reverted to 1.2.19 to verify.
The text was updated successfully, but these errors were encountered: