-
-
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
"Unexpected block closing tag" when using </input> #224
Comments
I suppose that invalid HTML closing tabs could be problematic.
|
Ok, I think that the only problem here could be the misleading position of |
There's a couple of things going on here – Svelte doesn't do a very good job of dealing with unexpected tags at all. It needs to figure out which elements are closed by a particular closing tag (elements plural because things like But in this particular case it's slightly simpler, because |
provide useful feedback on encountering void element closing tag
Svelte does a much better job now (particularly as of 1.8.1, just released) of providing useful feedback when HTML isn't formed quite right, so I'll close this issue. Thanks! |
Working code:
If I replace
{{matrix.get([row, col])}}
with<input>{{matrix.get([row, col])}}</input>
I get this error:The text was updated successfully, but these errors were encountered: