Skip to content

Commit 2b59930

Browse files
committed
Merge pull request #1181 from mgreter/bugfix/issue_1092
Fix white-space error with nested output style
2 parents 368ece6 + aee4b96 commit 2b59930

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
@@ -192,7 +192,9 @@ namespace Sass {
192192
{
193193
if (output_style() != COMPRESSED && buffer().size()) {
194194
char lst = buffer().at(buffer().length() - 1);
195-
if (!isspace(lst)) append_mandatory_space();
195+
if (!isspace(lst) || scheduled_delimiter) {
196+
append_mandatory_space();
197+
}
196198
}
197199
}
198200

0 commit comments

Comments
 (0)