mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
Avoid manipulations with paths that have animations. Fixes #321
This commit is contained in:
@ -33,8 +33,10 @@ exports.fn = function(item, params) {
|
||||
|
||||
if (prevContentItem &&
|
||||
prevContentItem.isElem('path') &&
|
||||
prevContentItem.isEmpty() &&
|
||||
prevContentItem.hasAttr('d') &&
|
||||
contentItem.isElem('path') &&
|
||||
contentItem.isEmpty() &&
|
||||
contentItem.hasAttr('d')
|
||||
) {
|
||||
|
||||
|
Reference in New Issue
Block a user