1
0
mirror of https://github.com/svg/svgo.git synced 2025-07-31 07:44:22 +03:00

Remove prefix/local support in elements and attributes (#1413)

These parts of element and attribute name are easy to extract.
Now we can easily replace attrs with xast attributes object.
This commit is contained in:
Bogdan Chadkin
2021-03-10 13:26:15 +03:00
committed by GitHub
parent 2458b70f31
commit d1d6e5efe8
21 changed files with 76 additions and 126 deletions

View File

@ -50,8 +50,6 @@ exports.fn = function (item) {
} else {
inner.addAttr({
name: attr.name,
local: attr.local,
prefix: attr.prefix,
value: attr.value,
});
}