mrhanlon / less-than-slash

Atom.io package for closing open tags when `</` is typed, like in Sublime Text 3.
MIT License
23 stars 6 forks source link

Wrong tag being closed in ERB files. #60

Open abrambailey opened 6 years ago

abrambailey commented 6 years ago

image This happens repeatedly... I searched the entire file and couldn't find any open <strong> tags ... I'm baffled as to how this plugin chooses which tag to close. It seems it would search for the nearest open tag and close it, but that isn't what seems to happen.

momostein commented 5 years ago

I have a similar problem in my EJS files:

<div class="navBarWrapper">
    <h1><%= title %></h1>
</

less-than-slash wouldn't close the <div>-tag.