Skip to content

Conversation

@swhitty
Copy link
Owner

@swhitty swhitty commented Jun 12, 2024

Fix for #43.

Previously <use> elements were only searching for the element within <defs> but the element to use could exist anywhere within the DOM. This change now searches <defs> first, then proceeds to recursively search the DOM for the first element that matches the id.

@swhitty swhitty merged commit a7f67cf into main Jun 12, 2024
@swhitty swhitty deleted the use-find-any-element branch June 12, 2024 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants