From 9d027c947a9783ecc55be7791725c18f72c30a87 Mon Sep 17 00:00:00 2001 From: Max Cherniavskyi Date: Wed, 5 Dec 2018 17:43:29 +0000 Subject: [PATCH] Set without_rule flat only when explicitly requested by at_root Resolves: #1890 --- src/expand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expand.cpp b/src/expand.cpp index 40cc41610..860720613 100644 --- a/src/expand.cpp +++ b/src/expand.cpp @@ -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(ae)->exclude("rule")); LOCAL_FLAG(in_keyframes, false); ;