Skip to content

Commit

Permalink
Improve description
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Aug 22, 2021
1 parent 5a0bfb3 commit b0a2ade
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/remove-xlink-ns.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ exports.name = 'remove-xlink-ns';
exports.type = 'visitor';
exports.active = false;
exports.description =
'removes xmlns:xlink and replaces xlink:href with href attribute';
'removes xmlns:xlink namespace and replaces xlink:href attributes with href';

/**
* removes xmlns:xlink from <svg> and replaces xlink:href with href attribute
* removes xmlns:xlink namespace and replaces xlink:href attributes with href
*
* xlink namespace is obsolete in SVG 2. Href attribute is recommended
* replacement to xlink:href.
* xlink namespace is obsolete in SVG 2. Xlink:href is recommended to replace with
* href attribute.
*
* https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/href
*
Expand Down

0 comments on commit b0a2ade

Please sign in to comment.