svgo icon indicating copy to clipboard operation
svgo copied to clipboard

[new plugin] remove-xlink-ns

Open TrySound opened this issue 2 years ago • 0 comments

Ref https://github.com/svg/svgo/pull/1508

The new plugin removes xmlns:xlink from and replaces xlink:href with href attribute.

xlink namespace is obsolete in SVG 2. Href attribute is recommended replacement to xlink:href.

This plugin will be enabled by default in SVGO 3.

See https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/href

cc @devongovett

TrySound avatar Aug 22 '21 10:08 TrySound