Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit dfb2287

Browse files
If the argument is a list, use its separator in function append.
1 parent 8c9547e commit dfb2287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ namespace Sass {
854854
l = new (ctx.mem) List(path, position, 1);
855855
*l << ARG("$list", Expression);
856856
}
857-
List* result = new (ctx.mem) List(path, position, l->length() + 1);
857+
List* result = new (ctx.mem) List(path, position, l->length() + 1, l->separator());
858858
string sep_str(unquote(sep->value()));
859859
if (sep_str == "space") result->separator(List::SPACE);
860860
else if (sep_str == "comma") result->separator(List::COMMA);

0 commit comments

Comments
 (0)