Skip to content

Commit aee4b96

Browse files
committed
Fix white-space error with nested output style
Fixes #1092
1 parent 348fde8 commit aee4b96

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

emitter.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,9 @@ namespace Sass {
191191
{
192192
if (output_style() != COMPRESSED && buffer().size()) {
193193
char lst = buffer().at(buffer().length() - 1);
194-
if (!isspace(lst)) append_mandatory_space();
194+
if (!isspace(lst) || scheduled_delimiter) {
195+
append_mandatory_space();
196+
}
195197
}
196198
}
197199

0 commit comments

Comments
 (0)