Fix quoted strings in interpolation.

This commit is contained in:
Natalie Weizenbaum 2016-08-30 23:08:14 -07:00 committed by Natalie Weizenbaum
parent 0fe62a04a6
commit d3d4427028

View File

@ -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();
}