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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context: I have an svg with a couple path tags that I'm toggling between using on click, this with AplineJS via it's x-show:
I already addressed the problem by turning off minification using the .htmlnanorc file along with this:
That works fine (after clearing cache) but, I'm curious, is it htmlnano that's removing these tags or is it SVGO itself that's doing it?
And how is parcel setup in that regard?
I don't mind turning off all svg minify but, would be nice to dig deeper and whitelist the svg path tag's attributes directly. Is that possible?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions