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
Please provide a minimal reproduction in the form of a downloadable repository. Otherwise, I’m inclined to think this is an issue with how browsers handle anchor tags nested in other anchor tags. A similar issue to this is withastro/astro#4864
Describe the bug
When building the code to production, Sveltekit is not rendering the code as it's supposed to be.
This is how my code looks like in editor:
When previewing it with 'npm run dev', it renders the code properly:
But after building it to production, this is how it's rendered into view:
In the last picture, the div is outside the anchor tag, causing the layout to be broken, and another anchor tag is created inside it.
Reproduction
Create a project, add an anchor tag on a page, then insert content into a div inside it, and build/preview the project.
Logs
No response
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: