Skip to content

Commit

Permalink
Set without_rule flat only when explicitly requested by at_root
Browse files Browse the repository at this point in the history
Resolves: #1890
  • Loading branch information
maxch-aa authored and xzyfer committed Dec 6, 2018
1 parent b21fb9f commit 9d027c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/expand.cpp
Expand Up @@ -202,7 +202,7 @@ namespace Sass {
if (ae) ae = ae->perform(&eval);
else ae = SASS_MEMORY_NEW(At_Root_Query, a->pstate());

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

;
Expand Down

0 comments on commit 9d027c9

Please sign in to comment.