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

Generated IDs on symbol elements are not valid XML #215

Open
timokleemann opened this issue Mar 25, 2024 · 0 comments
Open

Generated IDs on symbol elements are not valid XML #215

timokleemann opened this issue Mar 25, 2024 · 0 comments

Comments

@timokleemann
Copy link

timokleemann commented Mar 25, 2024

What version of astro-icon are you using?

v1.1.0

Astro Info

Astro                    v4.5.8
Node                     v21.6.2
System                   macOS (arm64)
Package Manager          npm
Output                   static
Adapter                  none
Integrations             astro-icon

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

It seems that the IDs on the symbol elements that are being generated are not valid XML according to the W3C markup generator. I am getting an error Bad value ai:local:services/screen for attribute id on element symbol: Not a valid XML 1.0 name for every icon that I include in my page. I guess this is due to the / inside the IDs?

astro-icon

What's the expected result?

I would expect valid IDs.

Link to Minimal Reproducible Example

https://stackblitz.com

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