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 @@ -1290,8 +1290,10 @@ namespace Sass {
12901290 }
12911291 if (ltype == Expression::NULL_VAL) error (" invalid null operation: \" null plus " +quote (unquote (rstr), ' "' )+" \" ." , lhs.pstate ());
12921292 if (rtype == Expression::NULL_VAL) error (" invalid null operation: \" " +quote (unquote (lstr), ' "' )+" plus null\" ." , rhs.pstate ());
1293- std::string result ((lstr) + sep + (rstr));
1294- String_Quoted* str = new (mem) String_Quoted (lhs.pstate (), result);
1293+
1294+ String_Constant* str = ltype == Expression::STRING || sep == " "
1295+ ? new (mem) String_Quoted (lhs.pstate (), (lstr) + sep + (rstr))
1296+ : new (mem) String_Constant (lhs.pstate (), (lstr) + sep + quote (rstr));
12951297 str->quote_mark (0 );
12961298 return str;
12971299 }
You can’t perform that action at this time.
0 commit comments