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

existing svg containing gradient is not rendered #165

Open
DishenWang2023 opened this issue Sep 1, 2021 · 1 comment
Open

existing svg containing gradient is not rendered #165

DishenWang2023 opened this issue Sep 1, 2021 · 1 comment

Comments

@DishenWang2023
Copy link

Tried converting a dom with existing svg contained with a gradient element in it, the rest of the svg renders except the gradient element

@DishenWang2023
Copy link
Author

Issue relates to how id is converted. For example, if there's a rec with style="fill: url("#gradient") within an svg with id=grad , then after conversion the string becomes style="fill: url("#grad-grad-gradient"). I am able to fix the problem by replacing the string manually back to #grad-gardient, but it is still an issue nontheless

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