Skip to content

Commit 9d027c9

Browse files
maxch-aaxzyfer
authored andcommitted
Set without_rule flat only when explicitly requested by at_root
Resolves: #1890
1 parent b21fb9f commit 9d027c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/expand.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ namespace Sass {
202202
if (ae) ae = ae->perform(&eval);
203203
else ae = SASS_MEMORY_NEW(At_Root_Query, a->pstate());
204204

205-
LOCAL_FLAG(at_root_without_rule, true);
205+
LOCAL_FLAG(at_root_without_rule, Cast<At_Root_Query>(ae)->exclude("rule"));
206206
LOCAL_FLAG(in_keyframes, false);
207207

208208
;

0 commit comments

Comments
 (0)