File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1277,8 +1277,10 @@ namespace Sass {
1277
1277
}
1278
1278
if (ltype == Expression::NULL_VAL) error (" invalid null operation: \" null plus " +quote (unquote (rstr), ' "' )+" \" ." , lhs.pstate ());
1279
1279
if (rtype == Expression::NULL_VAL) error (" invalid null operation: \" " +quote (unquote (lstr), ' "' )+" plus null\" ." , rhs.pstate ());
1280
- std::string result ((lstr) + sep + (rstr));
1281
- String_Quoted* str = new (mem) String_Quoted (lhs.pstate (), result);
1280
+
1281
+ String_Constant* str = ltype == Expression::STRING || sep == " "
1282
+ ? new (mem) String_Quoted (lhs.pstate (), (lstr) + sep + (rstr))
1283
+ : new (mem) String_Constant (lhs.pstate (), (lstr) + sep + quote (rstr));
1282
1284
str->quote_mark (0 );
1283
1285
return str;
1284
1286
}
You can’t perform that action at this time.
0 commit comments