-
Notifications
You must be signed in to change notification settings - Fork 26
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
Invalid HTML when using multiple icons #896
Comments
I am actually on this issue because I think to have extra information. The first icon on the page is normal: having a single . |
These id's are generated here: svelte-awesome/src/lib/components/Icon.svelte Lines 5 to 8 in effeff0
Which creates a
I guess the solution would be to remove the |
I created a PR with a possible fix: #930 |
apologies for the delay, I've merged Jos's PR now and the fix should be available in 3.0.1 |
Hello, Rob.
After running w3 validator, I found multiple errors caused by icons path duplicating ID's.
They all render the same ID.
e.g.
<path id="path-0" ... >
<path id="path-0" ... >
<path id="path-0" ... >
Any workaround for this?
Thanks!
The text was updated successfully, but these errors were encountered: