-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
!doctype causes an error #336
Comments
This was actually a case sensitivity issue. |
Bumped into some issues in #340. In the meantime, just using lowercase for the element name will work around this. |
We could make a special case for doctype, since it's not uncommon to see it uppercased — treating it as a void element is a bit of a hack in the first place |
That sounds like a good compromise for now, just submitted a PR |
accept DOCTYPE element in any case
Currently,
<!DOCTYPE html>
raises an error (!DOCTYPE was left open
). This is probably only relevant to SSR.(REPL)[https://svelte.technology/repl/?version=1.10.0&gist=881e409ef1a972e7a86e9a1748ced90e]
The text was updated successfully, but these errors were encountered: