mattn / emmet-vim

emmet for vim: http://emmet.io/
http://mattn.github.io/emmet-vim
MIT License
6.41k stars 411 forks source link

Issue with lorem ipsum expansion creating junk tags #423

Closed khamer closed 6 years ago

khamer commented 6 years ago

On the latest version, instead of .foo>lorem3 expanding to

<div class="foo">
    Elit quas at?
</div>

It expands to

<div class="foo">
    <lorem3>
        Ipsum maxime error
    </lorem3>
</div>

In some situations, it create an extra <span> tag instead of a lorem tag. Using git bisect, it looks like this problem was introduced in commit fb31b5. I'm not exactly sure what the fix is; maybe you can make more sense of this. Thanks!

mattn commented 6 years ago

This should be fixed in https://github.com/mattn/emmet-vim/commit/e7dd13a75077aaafa5fc78a205f57e50d816f310