Skip to content

Commit 1075f5c

Browse files
committed
Fix to connect parent selector only once
1 parent b7028f2 commit 1075f5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/expand.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,8 @@ namespace Sass {
141141
}
142142
}
143143

144+
// do not connect parent again
145+
sel->remove_parent_selectors();
144146
selector_stack.push_back(sel);
145147
Env env(environment());
146148
if (block_stack.back()->is_root()) {

0 commit comments

Comments
 (0)