We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0475ee commit 33a9107Copy full SHA for 33a9107
functions.cpp
@@ -940,7 +940,7 @@ namespace Sass {
940
error(msg, pstate, backtrace);
941
}
942
catch (...) { throw; }
943
- return new (ctx.mem) String_Constant(pstate, newstr);
+ return new (ctx.mem) String_Quoted(pstate, newstr);
944
945
946
Signature to_upper_case_sig = "to-upper-case($string)";
output.cpp
@@ -134,7 +134,7 @@ namespace Sass {
134
String_Constant* valConst = static_cast<String_Constant*>(dec->value());
135
string val(valConst->value());
136
if (dynamic_cast<String_Quoted*>(valConst)) {
137
- if (val.empty()) {
+ if (!valConst->quote_mark() && val.empty()) {
138
bPrintExpression = false;
139
140
0 commit comments