-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Svelte 5: Bogus comments caused by <![><!]> #10976
Comments
The bogus comment warnings aren't from |
Wait yeah your right i'am just blind. |
The W3C validator is needlessly persnickety — short comments are understood everywhere that matters. That said, the benefit is fairly slight, and in the past we've decided in favour of being compliant, so I'd be open to changing this |
Describe the bug
Today when trying to validate my Website for any HTML errors i used the w3c validator to check for any errors.
To my suprise it showed nearly 1000 errors, 99% of them with the same error:
The html of the page looks like this:
I wonder what could be done since this is both the cause localy on dev and also when deployed.
Reproduction
I have 0 idea when it happens or why.
I guess it happens if you use SSR and a Svelte Element that needs to be client Side fetched or Mounted?
Would be glad if this is not a known issue to help reproduce!!
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: