Skip to content

Commit 427a31c

Browse files
committed
Fix tabs when bubbling feature blocks
1 parent 5a037bb commit 427a31c

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

cssize.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ namespace Sass {
268268
m->feature_queries(),
269269
wrapper_block);
270270

271+
mm->tabs(m->tabs());
272+
271273
Bubble* bubble = new (ctx.mem) Bubble(mm->pstate(), mm);
272274
return bubble;
273275
}

inspect.cpp

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,10 @@ namespace Sass {
5858
void Inspect::operator()(Bubble* bubble)
5959
{
6060
append_indentation();
61-
append_token("Bubble", bubble);
62-
append_optional_space();
63-
append_string("(");
64-
append_optional_space();
61+
append_token("::BUBBLE", bubble);
62+
append_scope_opener();
6563
bubble->node()->perform(this);
66-
append_optional_space();
67-
append_string(")");
68-
append_optional_space();
64+
append_scope_closer();
6965
}
7066

7167
void Inspect::operator()(Media_Block* media_block)

0 commit comments

Comments
 (0)