A bugreport here:
https://github.com/karify/external-svg-sprite-loader/blob/842c04a092665b724a25c9c4ff36b974808a0821/lib/SvgDocument.js#L170
Due to this explicit whitelist of attributes,
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" ...>
becomes
<symbol id="..." viewBox="0 0 16 16">
I.e. fill="none" is removed and thus the image changes.
Maybe we can just copy all attributes (or blacklist some) instead of whitelisting? Because fill may not be the only one attribute...
A bugreport here:
https://github.com/karify/external-svg-sprite-loader/blob/842c04a092665b724a25c9c4ff36b974808a0821/lib/SvgDocument.js#L170
Due to this explicit whitelist of attributes,
becomes
I.e. fill="none" is removed and thus the image changes.
Maybe we can just copy all attributes (or blacklist some) instead of whitelisting? Because
fillmay not be the only one attribute...