Writing a Closing Tag creates a Closing Tag

Problem description:
When manually closing a n element because the closing tag isn’t auto created when adding attributes, an extra closing tag is created.

Expected behavior:

Actual behavior:
An extra closing tag is created.

Steps to reproduce:
See screen recording:
Screen Recording 2023-01-08 at 17.23.44

Bug appears at this link:
Inside a JSX file. Possibly for HTML as well, but I have not tested this outside of a .jsx file.

Repl is private and will not be linked. However, it’s not repl-specific, I’ve come across this a lot, but have never reported it.

2015 iMac running macOS Monterey using Arc 0.81.2


Can’t reproduce inside html file (but can in jsx)