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.
2 parents 937ccf8 + 33a9107 commit 6ab00d9Copy full SHA for 6ab00d9
functions.cpp
@@ -942,7 +942,7 @@ namespace Sass {
942
error(msg, pstate, backtrace);
943
}
944
catch (...) { throw; }
945
- return new (ctx.mem) String_Constant(pstate, newstr);
+ return new (ctx.mem) String_Quoted(pstate, newstr);
946
947
948
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