Skip to content

Commit fef2bd8

Browse files
committed
Fix edge case in unquote sass function (Unicode escapes)
1 parent ee45dae commit fef2bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ namespace Sass {
879879
return SASS_MEMORY_NEW(ctx.mem, Null, pstate);
880880
}
881881
else if (String_Quoted* string_quoted = dynamic_cast<String_Quoted*>(arg)) {
882-
String_Quoted* result = SASS_MEMORY_NEW(ctx.mem, String_Quoted, pstate, string_quoted->value());
882+
String_Constant* result = SASS_MEMORY_NEW(ctx.mem, String_Constant, pstate, string_quoted->value());
883883
// remember if the string was quoted (color tokens)
884884
result->sass_fix_1291(string_quoted->quote_mark() != 0);
885885
return result;

0 commit comments

Comments
 (0)