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
Self-closing tags for <option> and <optgroup> are marked as invalid although they are valid under specific circumstances. Using them like this breaks the bracket highlighting of the remaining code as they are all marked as invalid from this point on.
An option element's end tag may be omitted if the optgroup element is immediately followed by another optgroup element, or if there is no more content in the parent element.
Yeah, we were missing optgroup, but option was there, we just had a typo that made the name plural.
We don't parse it with HTML5 logic per se, we just have a list of element names that if we can't find a match, we will just assume they are okay despite not having a closing.
If you edit bh_tags.sublime-settings, you can get the desired behavior:
Description
Self-closing tags for
<option>
and<optgroup>
are marked as invalid although they are valid under specific circumstances. Using them like this breaks the bracket highlighting of the remaining code as they are all marked as invalid from this point on.HTML 5.0 specifications:
https://www.w3.org/TR/html50/forms.html#the-option-element
https://www.w3.org/TR/html50/forms.html#the-optgroup-element
Support Info
Steps to Reproduce Issue
example code:
The text was updated successfully, but these errors were encountered: