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
{{ message }}
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.
Auto close tag does not work on <, but it should work on </. And the issue is in CodeMirror and you can reproduced it with this demo page http://codemirror.net/demo/closetag.html. So I don't think it is a starter bug.
I can also reproduce the issue with <style></ since the inner mode is in "css" while the inner mode for script tag is "javascript". So autoCloseTag function is returning CodeMirror.Pass, meaning it is not handling those tags.
Reviewed -- setting to "no priority." This is probably expected behavior currently, since it might well be valid within the nested mode to type "</" (e.g. inside a string literal or a regexp literal).
It also seems like a low impact bug, since typing simply <script>does correctly autocomplete the </script>. You'd have to manually delete that closing tag in order to hit this (or create the opening tag some other way, e.g. copy-paste).
Create a new html file and add
Now start to close the tag by typing <
--> brackets doesn't automatically insert the close tag
The text was updated successfully, but these errors were encountered: