emmet-vim icon indicating copy to clipboard operation
emmet-vim copied to clipboard

Remove tag does not remove the inner elements

Open kaphula opened this issue 7 years ago • 1 comments

Hey,

I noticed that when using the remove tag function on elements that have inner elements does not always delete all of the inner elements. For example:

<ul>
  <li>
    <ul>
      <li></li>
    </ul>
  </li>
</ul>

Trying to use the remove tag on the first <ul> element results in this:

  </li>
</ul>

It basically stops to the next matching </ul> element regardless whether it is really the correct one. I am not sure if this is intented or even possible to fix, but I thought I'd post it here anyway.

kaphula avatar Jan 31 '18 22:01 kaphula

~~@kaphula Sorry, this is not solving your issue, but I can't seem to find that info elsewhere: How do you remove tags with vim-emment?~~

Sorry... totally missed the "in vim" help https://github.com/mattn/emmet-vim/blob/master/doc/emmet.txt

tbrlpld avatar Feb 01 '22 14:02 tbrlpld