Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing ID during nested svg resolving #734

Open
RazrFalcon opened this issue Apr 9, 2024 · 0 comments
Open

Missing ID during nested svg resolving #734

RazrFalcon opened this issue Apr 9, 2024 · 0 comments

Comments

@RazrFalcon
Copy link
Collaborator

<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
    <svg id="unique">
        <rect width="10" height="10"/>
    </svg>
</svg>

will be parsed as:

<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg">
    <defs/>
    <path fill="#000000" stroke="none" d="M 0 0 L 10 0 L 10 10 L 0 10 Z"/>
</svg>

We should preserve the ID.

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

No branches or pull requests

1 participant