File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -969,9 +969,12 @@ namespace Sass {
969
969
}
970
970
971
971
if (String_Quoted* ss = dynamic_cast <String_Quoted*>(s)) {
972
- str = ss->quote_mark () ? quote (str) : str;
972
+ String_Quoted* cpy = new (ctx.mem ) String_Quoted (*ss);
973
+ cpy->value (str);
974
+ return cpy;
975
+ } else {
976
+ return new (ctx.mem ) String_Constant (pstate, str);
973
977
}
974
- return new (ctx.mem ) String_Constant (pstate, str);
975
978
}
976
979
977
980
Signature to_lower_case_sig = " to-lower-case($string)" ;
@@ -987,9 +990,12 @@ namespace Sass {
987
990
}
988
991
989
992
if (String_Quoted* ss = dynamic_cast <String_Quoted*>(s)) {
990
- str = ss->quote_mark () ? quote (str, ' "' ) : str;
993
+ String_Quoted* cpy = new (ctx.mem ) String_Quoted (*ss);
994
+ cpy->value (str);
995
+ return cpy;
996
+ } else {
997
+ return new (ctx.mem ) String_Constant (pstate, str);
991
998
}
992
- return new (ctx.mem ) String_Constant (pstate, str);
993
999
}
994
1000
995
1001
// /////////////////
You can’t perform that action at this time.
0 commit comments