Subject: | nested includes cause errors |
in _parse_css the check to parse nested css:
if ($kv =~ /[{].*[}]/smx) {
$self->_parse_css( $kv, $ssubstash, $symbols );
next;
}
has to be moved above the checks for include or extend if this type of
structure can be parsed:
@mixin test { color: #fff; }
p {
.a {
.b {
@include test;
}
}
.c { @include test; }
}