JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.01k stars 272 forks source link

xlink is deprecated in SVG 2 #426

Closed equinusocio closed 9 months ago

equinusocio commented 3 years ago

What is the current behavior?

<use xlink:href="#id">

What is the expected behavior?

<use href="#id">

If this is a feature request, what is motivation or use case for changing the behavior?

SVG 2 deprecated the xlink attribute, all major browsers now support the new standard href inside the use element. More info here: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href