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

Regression with nested tags on the same line #8

Closed mrhanlon closed 9 years ago

mrhanlon commented 9 years ago

It looks like #6 may have introduced a regression bug with nested tags on the same line. See the following examples:

  1. incorrectly autocompletes </a> instead of </i>
<a class="navbar-brand" href="#"><i class="fa fa-home"></a>
  1. correctly autocompletes </i>
<a><i class="fa fa-home"></i>
  1. correctly autocompletes </i>
<a class="navbar-brand" href="#">
  <i class="fa fa-home"></i>