mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 05:41:14 +01:00
Fix quoted strings in interpolation.
This commit is contained in:
parent
0fe62a04a6
commit
d3d4427028
@ -666,7 +666,8 @@ class PerformVisitor implements StatementVisitor, ExpressionVisitor<Value> {
|
||||
String _performInterpolation(Interpolation interpolation) {
|
||||
return interpolation.contents.map((value) {
|
||||
if (value is String) return value;
|
||||
return (value as Expression).accept(this);
|
||||
var result = (value as Expression).accept(this);
|
||||
return result is SassString ? result.text : result;
|
||||
}).join();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user