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

Commit c8971fe

Browse files
author
Aaron Leung
committed
Cloning the mixin content block so it doesn't get shared between different instances of @content in the same mixin.
1 parent 7477d7f commit c8971fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eval_apply.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ namespace Sass {
5757
} break;
5858

5959
case Node::mixin_content: {
60-
expr += content;
60+
expr += new_Node(content);
6161
for (size_t i = 0, S = expr.size(); i < S; ++i) {
6262
re_expand(expr[i], prefix, env, f_env, new_Node, ctx, bt, false, content);
6363
}

0 commit comments

Comments
 (0)