Skip to content

Commit a5235d3

Browse files
committed
Do not output invisible support blocks
1 parent 72ad746 commit a5235d3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/util.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -600,8 +600,10 @@ namespace Sass {
600600
}
601601
else if (Has_Block_Ptr b = Cast<Has_Block>(stm)) {
602602
Block_Obj pChildBlock = b->block();
603-
if (isPrintable(pChildBlock, style)) {
604-
hasPrintableChildBlocks = true;
603+
if (!b->is_invisible()) {
604+
if (isPrintable(pChildBlock, style)) {
605+
hasPrintableChildBlocks = true;
606+
}
605607
}
606608
}
607609

0 commit comments

Comments
 (0)