File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -1773,14 +1773,19 @@ namespace Sass {
1773
1773
suffix = std::string (lexed);
1774
1774
}
1775
1775
1776
+ std::string uri (" " );
1777
+ if (url_string) {
1778
+ uri = url_string->to_string ({ NESTED, 5 });
1779
+ }
1780
+
1776
1781
if (String_Schema* schema = dynamic_cast <String_Schema*>(url_string)) {
1777
1782
String_Schema* res = SASS_MEMORY_NEW (ctx.mem , String_Schema, pstate);
1778
1783
(*res) << SASS_MEMORY_NEW (ctx.mem , String_Constant, pstate, prefix);
1779
1784
(*res) += schema;
1780
1785
(*res) << SASS_MEMORY_NEW (ctx.mem , String_Constant, pstate, suffix);
1781
1786
return res;
1782
1787
} else {
1783
- std::string res = prefix + url_string-> to_string ({ NESTED, 5 }) + suffix;
1788
+ std::string res = prefix + uri + suffix;
1784
1789
return SASS_MEMORY_NEW (ctx.mem , String_Constant, pstate, res);
1785
1790
}
1786
1791
}
You can’t perform that action at this time.
0 commit comments