-
Notifications
You must be signed in to change notification settings - Fork 74
Handle lack of optional closing tags #25
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
Comments
I guess |
Closing optional tags is not universally considered "good style," and besides, the editor is not supposed to impose arbitrary style choices. It should simply interpret the specification correctly. |
There is no way to detect is this omit close tag or other case. Suggestion? |
It is a bit challenging, but I think you could probably cover the most common cases:
|
Thanks for suggestion. Looks possible but I can't give a promise. |
My indentation is now borked if I close
|
Many common tags in HTML5, such as
<p>
and<li>
, do not require a closing tag, but the current indent file cannot handle this case. For example,gets turned into
The text was updated successfully, but these errors were encountered: