dahlia/libsass-python — pull request #23 by iffy (2014-07-17 14:22:49+00:00)
Title: %selector with nested @media isn't extended correctly.

Is this repo the place for this bug? Or should this be filed with libsass?

Given this SCSS:

```scss
%foo {
color: red;
@media print {
color: black;
}
}
.hey {
@extend %foo;
}
```

I expect this CSS (and the Ruby Sass gem produces this):

```css
.hey {
color: red; }
@media print {
.hey {
color: black; } }
```

But instead I get this (that `%foo` is in here instead of `.hey` is the bug):

```css
.hey {
color: red; }
@media print {
%foo {
color: black; } }
```