mirror of
https://github.com/svg/svgo.git
synced 2025-07-31 07:44:22 +03:00
@ -66,7 +66,9 @@ exports.fn = function(data) {
|
||||
svgElem = item;
|
||||
}
|
||||
|
||||
} else if (xmlnsCollection.length) {
|
||||
}
|
||||
|
||||
if (xmlnsCollection.length) {
|
||||
|
||||
// check item for the ns-attrs
|
||||
if (item.prefix) {
|
||||
|
9
test/plugins/removeUnusedNS.07.svg
Normal file
9
test/plugins/removeUnusedNS.07.svg
Normal file
@ -0,0 +1,9 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" sodipodi:docname="test.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd">
|
||||
test
|
||||
</svg>
|
||||
|
||||
@@@
|
||||
|
||||
<svg xmlns="http://www.w3.org/2000/svg" inkscape:version="0.92.2 (5c3e80d, 2017-08-06)" sodipodi:docname="test.svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd">
|
||||
test
|
||||
</svg>
|
After Width: | Height: | Size: 530 B |
Reference in New Issue
Block a user