mattberkowitz / autoclose-html

Autoclose html tags in atom
MIT License
103 stars 42 forks source link

Fix self-close at end-of-line #184

Open dahlbyk opened 7 years ago

dahlbyk commented 7 years ago

When makeNeverCloseSelfClosing is true:

In both cases, the end-of-partial check wasn't accounting for the fact that the > has already been added to the line.

Before

autoclose-selfclose-broken

After

autoclose-selfclose-fixed