You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a problem when rendering an icon in a Preact component using Astro.
In the StackBlitz project you can see that the rendered SVG contains attributes in camel-case (strokeWidth instead of stroke-width), which causes a visual bug since the HTML is not valid.
Describe the bug
Hey!
I encountered a problem when rendering an icon in a Preact component using Astro.
In the StackBlitz project you can see that the rendered SVG contains attributes in camel-case (
strokeWidth
instead ofstroke-width
), which causes a visual bug since the HTML is not valid.Any idea on how to fix this?
Thanks for your help!
Moritz
Reproduction
https://stackblitz.com/edit/github-wpq4zq?file=astro.config.mjs
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: