diff --git a/plugins/moveGroupAttrsToElems.js b/plugins/moveGroupAttrsToElems.js
index bcdb4367..627682e7 100644
--- a/plugins/moveGroupAttrsToElems.js
+++ b/plugins/moveGroupAttrsToElems.js
@@ -35,6 +35,7 @@ exports.fn = function(item) {
item.isElem('g') &&
item.hasAttr('transform') &&
!item.isEmpty() &&
+ !item.someAttr(function(attr) { return ~attr.value.indexOf('url(') }) &&
item.content.every(function(inner) {
return inner.isElem(pathElems);
})
diff --git a/test/plugins/moveGroupAttrsToElems.05.svg b/test/plugins/moveGroupAttrsToElems.05.svg
new file mode 100644
index 00000000..0a605aa4
--- /dev/null
+++ b/test/plugins/moveGroupAttrsToElems.05.svg
@@ -0,0 +1,15 @@
+
+
+@@@
+
+