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

CSP error on some icons #666

Open
havit1 opened this issue Sep 5, 2024 · 0 comments
Open

CSP error on some icons #666

havit1 opened this issue Sep 5, 2024 · 0 comments

Comments

@havit1
Copy link

havit1 commented Sep 5, 2024

Icons that got empty style tag in SVG <defs><style type="text/css"></style></defs> cause CSP errors in console.

Empty <style> tag is inserted w/o any context when icon is generated

export function generate(

I guess it's just an error on some icons where designer of icon forgot to strip it of empty <style> tag.

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