Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

added fix for removeSVGAttributes #108

Merged
merged 1 commit into from
Apr 19, 2019

Conversation

tvixxx
Copy link
Contributor

@tvixxx tvixxx commented Apr 18, 2019

Hi, I've found the problem with removing SVG attributes, when I'm trying to remove two or more attributes. I checked "removedAttributes" function and find that you removing the element using the index in the "for" loop, after removing the element from"svgAttrs" the next element will change position to the position of the removing item and not checked at the next iteration of the loop, so this element will be skipped. Could you please check your code.

p.s.: it's just a quick decision from my side.

@arkon arkon merged commit a98a84b into arkon:master Apr 19, 2019
@arkon
Copy link
Owner

arkon commented Apr 19, 2019

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants