windwp / vscode-expand-region

porting sublime-expand-region to visual code
GNU General Public License v3.0
57 stars 23 forks source link

Stops expanding up when div has a property #3

Closed mmakarios closed 7 years ago

mmakarios commented 7 years ago
<div class="outer-div">
    <div class="inner-div">
        <a href="#">
            <img width="300" height="160" src="img/fupa.jpg" class="light-background" />
            <h6 class="tagline">Produkte</h6>
            <h3>test</h3>
        </a>
    </div>
</div>

In this example, it will only expand till it reaches the opening bracket of the inner-div. After that, it keeps expanding down, but not up. This apparently only happens if the inner-div has an html property attached to it.