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
When the extension is enabled (v 0.17.0), if you accidentally type your closing bracket inside of the quotation marks:
<element attribute="value" (i.e. <element attribute="value>"), autocomplete attempts to add the closing tag .
However, it's registering each added closing tag as a new closing bracket and attempting to add more closing tags. This happens repeatedly, and can lead to output similar to the following until the user presses another key:
To prevent this behavior, the extension could either:
Not attempt to auto-close the element in cases where a closing tag is added inside of an attribute value,
Move the curson and place the closing tag outside of the quotation marks, or
Limit itself to one closing tag, if possible.
The text was updated successfully, but these errors were encountered:
joshuacookdev
changed the title
Adding closing bracket (>) in attribute quotation marks is causing repeated pasting of closing tag for completion.
Adding closing bracket (>) in attribute quotation marks is causing repeated auto-complete of closing tag.
Jul 9, 2021
Not an urgent fix, since any input to the text stops the repeated auto-complete, but it's probably not desired behavior. I figure that I'm not the only person who has accidentally attempted to close a tag without having the cursor in the right spot.
When the extension is enabled (v 0.17.0), if you accidentally type your closing bracket inside of the quotation marks:
<element attribute="value"
(i.e.<element attribute="value>"
), autocomplete attempts to add the closing tag .However, it's registering each added closing tag as a new closing bracket and attempting to add more closing tags. This happens repeatedly, and can lead to output similar to the following until the user presses another key:
<element attribute="value></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element></element>"
(and continues going).To prevent this behavior, the extension could either:
The text was updated successfully, but these errors were encountered: