diff options
Diffstat (limited to 'theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java')
-rw-r--r-- | theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java b/theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java index 19880e4ce5..cc6dbb7b75 100644 --- a/theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java +++ b/theme-compiler/src/com/vaadin/sass/internal/tree/RuleNode.java @@ -91,7 +91,8 @@ public class RuleNode extends Node implements IVariableNode { if (variable != null && variable.contains(interpolation)) { variable = variable.replaceAll(Pattern.quote(interpolation), - node.getExpr().toString()); + node.getExpr().unquotedString()); + } if (value.getLexicalUnitType() == LexicalUnitImpl.SAC_FUNCTION) { @@ -120,7 +121,7 @@ public class RuleNode extends Node implements IVariableNode { .getValue() .toString() .replaceAll(Pattern.quote(interpolation), - node.getExpr().toString())); + node.getExpr().unquotedString())); } current = current.getNextLexicalUnit(); } |