Skip to content

Commit 41ca027

Browse files
committed
Fix selector schema evaluation with trailing line comment
1 parent 645ee0f commit 41ca027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/eval.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ namespace Sass {
17291729
{
17301730
// the parser will look for a brace to end the selector
17311731
std::string result_str(s->contents()->perform(this)->to_string(ctx.c_options));
1732-
result_str = unquote(Util::rtrim(result_str)) + "{";
1732+
result_str = unquote(Util::rtrim(result_str)) + "\n{";
17331733
Parser p = Parser::from_c_str(result_str.c_str(), ctx, s->pstate());
17341734
return operator()(p.parse_selector_list(exp.block_stack.back()->is_root()));
17351735
}

0 commit comments

Comments
 (0)